Pular para o conteúdo

PATCH /v1/channels/{id}/gateway-settings

PATCH
/v1/channels/{id}/gateway-settings
curl --request PATCH \
--url https://seu-endereco-da-api/v1/channels/example/gateway-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "listenGroups": true, "receiveCalls": true, "callRejectMessage": "example" }'

Permissão que a Chave de acesso precisa: Gerenciar canais (channels:manage).

id
required
string
Media typeapplication/json
object
listenGroups
boolean
receiveCalls
boolean
callRejectMessage
string
nullable <= 500 characters

Example generated

{
"listenGroups": true,
"receiveCalls": true,
"callRejectMessage": "example"
}