GET /v1/conversations/{id}/channels
const url = 'https://seu-endereco-da-api/v1/conversations/example/channels';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://seu-endereco-da-api/v1/conversations/example/channels \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Ler conversas (conversations:read).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”Responses
Seção intitulada “Responses”object
object
O nome que o cliente deu ao canal na plataforma
O numero ou @ da conta no provedor
O nome da conta no provedor: o verificado da Meta, ou o do aparelho no canal lite
O canal foi apagado; a conversa continua descrevendo por onde ela aconteceu
What this channel accepts per attachment kind; a kind outside the list is refused with 422 attachment_not_supported
object
object
Null: the channel takes whatever the platform lets through
object
File extension as the channel’s documentation names it (pdf, m4a, jpeg)
MIME types that count as this format
The channel’s own size ceiling for this kind; null: only the platform upload limit applies
object
Null: the channel takes whatever the platform lets through
object
File extension as the channel’s documentation names it (pdf, m4a, jpeg)
MIME types that count as this format
The channel’s own size ceiling for this kind; null: only the platform upload limit applies
object
Null: the channel takes whatever the platform lets through
object
File extension as the channel’s documentation names it (pdf, m4a, jpeg)
MIME types that count as this format
The channel’s own size ceiling for this kind; null: only the platform upload limit applies
object
Null: the channel takes whatever the platform lets through
object
File extension as the channel’s documentation names it (pdf, m4a, jpeg)
MIME types that count as this format
The channel’s own size ceiling for this kind; null: only the platform upload limit applies
The format a recorded voice note is converted to before leaving on this channel
Example
{ "items": [ { "attachments": { "voiceNoteProfile": "whatsapp-opus" } } ]}