action stream_io_api_create_call { label: "Create a call" description: "Creates a call" provider: stream_io_api method: POST path: "/channels/{type}/{id}/call" encoding: json input: { type: "object" properties: { id: { type: "string" } options: { type: "object" } type: { type: "string" } user: { type: "object" description: "Represents chat user" required: ["id"] properties: { ban_expires: { type: "string" format: "date-time" description: "Expiration date of the ban" } banned: { type: "boolean" description: "Whether a user is banned or not" } id: { type: "string" description: "Unique user identifier" } invisible: { type: "boolean" } language: { type: "string" description: "Preferred language of a user" } push_notifications: { type: "object" properties: { disabled: { type: "boolean" } disabled_until: { type: "string" format: "date-time" } } } revoke_tokens_issued_before: { type: "string" format: "date-time" description: "Revocation date for tokens" } role: { type: "string" description: "Determines the set of user permissions" } teams: { type: "array" description: "List of teams user is a part of" items: { type: "string" } } } } user_id: { type: "string" description: "**Server-side only**. User ID which server acts upon" } } required: ["id", "type"] additionalProperties: false } output: { type: "object" required: ["duration", "token"] properties: { agora_app_id: { type: "string" } agora_uid: { type: "number" } call: { type: "object" required: ["id", "provider", "type"] properties: { agora: { type: "object" required: ["channel"] properties: { channel: { type: "string" } } } hms: { type: "object" required: ["room_id", "room_name"] properties: { room_id: { type: "string" } room_name: { type: "string" } } } id: { type: "string" } provider: { type: "string" } type: { type: "string" } } } duration: { type: "string" description: "Duration of the request in human-readable format" } token: { type: "string" } } } }