Skip to content

List Conversations

cURL
curl "https://api.whatbot.in/public/v1/conversations?limit=50" \
-H "X-API-Key: wa_live_xxx"
FieldTypeRequiredDescription
limitnumberMax conversations to return (max 200). Defaults to 50.

There is no offset or cursor: this returns the limit most recently active conversations. Conversations that have never had a message sort last, newest first.

FieldTypeRequiredDescription
conversationsarrayThe conversations, each with the fields below.

Each conversation carries:

FieldTypeDescription
idstringThe conversation id. Use it with List Messages.
phone_numberstringThe customer’s number, digits only (no +). Masked if your workspace masks the public API.
contact_namestringThe name shown in the inbox, or null.
statusstringopen or closed.
last_message_atstringWhen the last message (either direction) was sent or received.
last_inbound_atstringWhen the customer last messaged — the start of the current 24-hour window.
last_message_previewstringA short preview of the last message.
unread_countnumberUnread inbound messages.
phone_number_idstringWhich of your WhatsApp numbers this conversation is on.
contact_idstringThe linked contact, or null.
lead_idstringA linked lead id, or null.
lead_namestringThat lead’s name, or null.
ext_lead_idstringThe external lead reference pushed with the contact, or null.
created_atstringWhen the conversation was created.
200
{
"conversations": [
{
"id": "a5230fa7-...",
"phone_number": "919876543210",
"contact_name": "Ravi Kumar",
"status": "open",
"last_message_at": "2026-07-08T09:12:00+00:00",
"last_inbound_at": "2026-07-08T09:10:41+00:00",
"last_message_preview": "Thanks! Your order ships today.",
"unread_count": 0,
"phone_number_id": "1066...",
"contact_id": "4f1c...",
"lead_id": null,
"lead_name": null,
"ext_lead_id": null,
"created_at": "2026-07-01T11:02:13+00:00"
}
]
}