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.
phone
string

Número de telefone do destinatário

message
string

Mensagem de texto a ser enviada

image
string

URL da imagem

audio
string

URL do audio

Response

200
application/json
Mensagem enviada com sucesso
success
boolean