POST
/
v2
/
agent
/
{agentId}
/
create-channel
curl --request POST \
  --url https://api.gptmaker.ai/v2/agent/{agentId}/create-channel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "type": "WHATSAPP"
}'
{
  "id": "<string>",
  "name": "<string>",
  "type": "WHATSAPP"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required

ID do agente

Body

application/json

Dados do canal a ser criado

The body is of type object.

Response

200
application/json

Canal criado com sucesso

The response is of type object.