Cria um novo Canal WhatsApp com o nome e descrição opcional fornecidos.
cURL
curl --request POST \ --url https://api.wappfy.io/api/instances/{instanceId}/channels \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "My Channel", "description": "Channel description" } '
{ "id": "120363XXX@newsletter", "name": "Company Updates", "description": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
UUID da instância WhatsApp
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
"My Channel"
"Channel description"
Canal criado
ID do canal
"120363XXX@newsletter"
Nome do canal
"Company Updates"
Descrição do canal
Esta página foi útil?