Pular para o conteúdo

POST /v1/channels/{id}/calls

POST
/v1/channels/{id}/calls
curl --request POST \
--url https://seu-endereco-da-api/v1/channels/example/calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "to": "example", "contactId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "video": true, "conversationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'

Permissão que a Chave de acesso precisa: Gerenciar chamadas (calls:manage).

id
required
string
Media typeapplication/json
object
to
string
>= 1 characters
contactId
string format: uuid
video
boolean
conversationId
string format: uuid

Example generated

{
"to": "example",
"contactId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"video": true,
"conversationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}