Skip to main content
GET
Conversations API
Base URL: 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

Returns all WhatsApp conversations for your account across all channels.
cURL
200 OK

Conversation object

string
Unique conversation identifier (UUID).
string
Your Vobiz account ID (MA_XXXXXXXX).
string
UUID of the channel the conversation belongs to.
string
UUID of the contact on the other side of the conversation.
string
WhatsApp conversation category (e.g. service, marketing, utility, authentication).
boolean
Whether the conversation is billable under WhatsApp pricing.
string
Conversation start timestamp (RFC3339 UTC).
string
When the conversation window expires (RFC3339 UTC).
string
Conversation status: open or closed.

List messages in a conversation

Returns cursor-paginated messages for a specific conversation.
integer
default:"50"
Max messages per page. Default 50, maximum 100.
string
Cursor from the previous response (next_cursor) to fetch the next page.
200 OK

Message object

string
Unique message identifier (UUID).
string
Your Vobiz account ID (MA_XXXXXXXX).
string
UUID of the channel the message was sent or received on.
string
UUID of the contact the message is with.
string
UUID of the parent conversation. May be omitted for messages not yet tied to a conversation.
string
Message direction: inbound or outbound.
string
Message type, e.g. text, image, document, template.
string
Delivery status: pending, sent, delivered, read, or failed.
string
Message payload as a JSON-encoded string (parse it to read the body and media fields).
string
Meta WhatsApp message ID (wamid…), when available.
string
Message timestamp (RFC3339 UTC).