Skip to main content
POST
/
messages
/
send-text
Enviar mensagem de texto
curl --request POST \
  --url https://api.botly.com.br/api/v1/rest/messages/send-text \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "message": "Olá, tudo bem?",
  "chatId": "1234567890"
}'
{
  "id": "<string>",
  "message": "<string>",
  "chatId": "<string>",
  "status": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
message
string
required

Texto da mensagem a ser enviada

Example:

"Olá, tudo bem?"

chatId
string
required

Identificador único do chat de destino

Example:

"1234567890"

Response

Mensagem enviada com sucesso

id
string
message
string
chatId
string
status
string
I