POST
/
v2
/
channel
/
{channelId}
/
start-conversation
curl --request POST \
  --url https://api.gptmaker.ai/v2/channel/{channelId}/start-conversation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "phone": "<string>",
  "message": "<string>",
  "image": "<string>",
  "audio": "<string>"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

channelId
string
required

ID do canal

Body

application/json

Dados da mensagem a ser disparada, atualmente iniciar a conversa só está disponível para canais do tipo Whatsapp não oficial.

The body is of type object.

Response

200
application/json

Mensagem enviada com sucesso

The response is of type object.