Skip to main content
POST
Dispatch an outbound message to a customer over WhatsApp within an active ticket. Supports plain text, rich media (images, documents, audio voice notes, videos), and quoted reply contexts.

Authentication

This endpoint requires Bearer token authentication.

Path Parameters

string
required
Bearer token for authentication. Format: Bearer <token>.
string
required
Unique UUID identifier of the inbox ticket.

Request Body

string
Text body or caption for media attachments. Required if message_type is text.
string
default:"text"
Message type category: text, image, document, audio, or video.
string
Storage path or public URL of the media file (obtained from POST /api/v1/inbox/upload). Required for media message types.
string
Custom filename for document/media attachments (e.g. Invoice_90412.pdf).
string
MIME type of the media file (e.g. application/pdf, image/jpeg).
string
Optional wamid of an incoming message to reply to in quoted context.

Response Fields

string
UUID of the created message record.
string
UUID of the ticket.
string
Meta WhatsApp message identifier (wamid...).
string
Will be outbound.
string
Dispatched message type.
string
Text content or caption.
string
Initial delivery status (sent).
string
ISO 8601 creation timestamp.