Skip to main content
POST
/
api
/
v2
/
message
Mensaje con imagen
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>",
  "image": {
    "id": 123,
    "link": "<string>",
    "caption": "<string>"
  }
}
'

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 image.
image
object
required
Objeto con el contenido del mensaje.

Ejemplo

{
  "to": 5219876543210,
  "type": "image",
  "image": {
    "link": "https://example.com/image.jpg",
    "caption": "Mira esta increible foto!"
  }
}