Send a message
Send a standard text or media message via WhatsApp, Instagram, or Messenger. **IMPORTANT: Do NOT use this endpoint for WhatsApp Templates.** For templates, you must use `/v1/messages/templates`.
Authorization
api-key X-API-Key<token>
API key for the public Messaging API (/v1/*)
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "http://localhost:3006/v1/messages" \ -H "Content-Type: application/json" \ -d '{ "channel": "whatsapp", "to": "+254712345678", "type": "text" }'{
"message_id": "6634e2b1a7c3f500231a8b01",
"conversation_id": "663...",
"status": "queued",
"channel": "whatsapp",
"to": "+254712345678"
}Empty
Empty
Empty
Empty