Conventions
Response envelope
Every successful response is wrapped:Pagination envelope
List endpoints use Laravel’s paginator shape, nested insidedata:
Contact
Example
Status
A labeled state you can apply to contacts.Source
Where a contact came from (e.g. “Website Form”).Sources have no
color field.Group
A grouping for contacts. A contact’s memberships are stored in itsgroup_id array.
WhatsApp Template
A Meta-approved message template.API Token
API tokens are not exposed as an object via the API. Each workspace has a single token managed in Settings → API Management. See Authentication.Webhook Configuration
Not exposed as an API resource — set in Settings → Webhook Settings. Shown here for reference.
Example:
Webhook Payload
Every outbound webhook POST uses this shape.Message send response
The shape returned by send-text / send-template / send-media endpoints.Message status response
Returned byGET /messages/{messageId}/status.
Phone validation response
Returned byPOST /phone/validate.
Phone validation confirms format only. It does not check whether the number is registered on WhatsApp.