Skip to main content
POST
/
api
/
v2
/
message
Mensaje de texto
curl --request POST \
  --url https://whatsapp.heybot.cloud/api/v2/message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "to": 123,
  "type": "<string>",
  "text": {
    "body": "<string>",
    "preview_url": true
  }
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.heybot.cloud/llms.txt

Use this file to discover all available pages before exploring further.

to
integer
default:5219876543210
required
Número de WhatsApp del destinatario en formato internacional, sin símbolos ni espacios.
type
string
required
Tipo de mensaje a enviar. Para este endpoint debe ser text.
text
object
required
Objeto con el contenido del mensaje.

Ejemplo

{
  "to": 5219876543210,
  "type": "text",
  "text": {
    "body": "¡Hola mundo!"
  }
}