Messages
Overview
The Messages module lets you send messages from any of your connected WhatsApp numbers and retrieve the message history. All messages are logged and can be queried by direction, status, sender, or recipient.
Message types
Sending a message
POST /api/messages/send
The request body must include number_id, to, type, and a field matching type:
Idempotency
Add an Idempotency-Key header to prevent duplicate sends:
If a request with the same key is received within 24 hours, the original response is returned without sending another message.
Message directions
Message statuses
Status updates are delivered via webhook events.