API Reference
Conversations API
Retrieve and paginate WhatsApp conversation threads on Vobiz - build inbox views, sync message history to your CRM, or audit logs with cursor-based pagination.
GET
Conversations API
Base URL:
Returns all WhatsApp conversations for your account across all channels.
Returns cursor-paginated messages for a specific conversation.
https://api.vobiz.ai/api/v1/messaging
Authentication: every request requires X-Auth-ID: MA_XXXXXXXX and X-Auth-Token: <token> headers (a Authorization: Bearer <JWT> header is also accepted). Send Content-Type: application/json on requests with a body. Get your credentials from console.vobiz.ai.
A conversation is a thread between one of your WhatsApp channels and one customer contact. Messages within a conversation are cursor-paginated - pass the
next_cursor from the previous response to fetch the next page of older messages.List conversations
cURL
200 OK
Conversation object
Unique conversation identifier (UUID).
Your Vobiz account ID (
MA_XXXXXXXX).UUID of the channel the conversation belongs to.
UUID of the contact on the other side of the conversation.
WhatsApp conversation category (e.g.
service, marketing, utility, authentication).Whether the conversation is billable under WhatsApp pricing.
Conversation start timestamp (RFC3339 UTC).
When the conversation window expires (RFC3339 UTC).
Conversation status:
open or closed.List messages in a conversation
Max messages per page. Default
50, maximum 100.Cursor from the previous response (
next_cursor) to fetch the next page.200 OK
Message object
Unique message identifier (UUID).
Your Vobiz account ID (
MA_XXXXXXXX).UUID of the channel the message was sent or received on.
UUID of the contact the message is with.
UUID of the parent conversation. May be omitted for messages not yet tied to a conversation.
Message direction:
inbound or outbound.Message type, e.g.
text, image, document, template.Delivery status:
pending, sent, delivered, read, or failed.Message payload as a JSON-encoded string (parse it to read the body and media fields).
Meta WhatsApp message ID (
wamid…), when available.Message timestamp (RFC3339 UTC).