Skip to content
Chatwise
Skip to Content
Developer docs

List conversations

GET /v1/conversations. Lists the workspace's conversations, or finds them by customer.

View as Markdown

GEThttps://api.chatwise.so/v1/conversations

Lists the workspace's conversations, or finds them by customer. The latest activity comes first; conversations without a message come last. A conversation that gets a message while you read the pages moves to the top, so you can miss it.

from and to filter by lastMessageAt.

The API key needs the conversations:read scope. See authentication and scopes.

Example

curl 'https://api.chatwise.so/v1/conversations?limit=25&channel=WHATSAPP&status=open' \
  -H "Authorization: Bearer $CHATWISE_API_KEY"

Query parameters

NameTypeDescription
limitintegerHow many to return, from 1 to 100. Default: 50.
cursorstringThe previous page's pagination.nextCursor. Repeat the same filters and order with it. At most 512 characters.
fromstringOnly conversations with a latest message at or after this time. ISO 8601 with a time zone, at most milliseconds.
tostringOnly conversations with a latest message before this time, which must be after from. ISO 8601 with a time zone, at most milliseconds.
channelstringOnly conversations on this channel. Without it, every channel, Website Chat included. One of WHATSAPP, INSTAGRAM, MESSENGER.
statusstringOnly open or only resolved conversations. Leave out for both. One of open, resolved.
qstringText in the customer's name, WhatsApp number or Instagram username (with or without @), in any case. Spaces around it are ignored. Can't be blank, or contain NUL characters or unpaired surrogates. At most 200 characters.

Unknown query parameters are refused with a 400.

Response

200. A page of conversations.

{
  "data": [
    {
      "id": "1234",
      "channel": "WHATSAPP",
      "status": "open",
      "participant": {
        "name": "Jordan Example",
        "channelId": "12025550147",
        "phoneNumber": "12025550147",
        "instagramUsername": null
      },
      "createdAt": "2026-11-01T09:12:00.000Z",
      "lastMessageAt": "2026-11-12T09:25:36.000Z"
    }
  ],
  "pagination": {
    "nextCursor": "eyJ2IjoxLCJiaW5kaW5nIjoiZXhhbXBsZSJ9"
  }
}
FieldTypeDescription
data[].idstringThe conversation's id.
data[].channelstringThe channel the conversation is on. One of WHATSAPP, INSTAGRAM, MESSENGER, WEBSITE_CHAT.
data[].statusstringWhether the conversation is open or resolved in the inbox. One of open, resolved.
data[].participantobjectThe customer.
data[].participant.namestring or nullThe customer's name. A placeholder, or on Website Chat their email, when Chatwise doesn't know it.
data[].participant.channelIdstring or nullThe customer's id on the channel: the WhatsApp number, or an Instagram or Messenger id. Null on Website Chat.
data[].participant.phoneNumberstring or nullThe customer's phone number, digits only, on WhatsApp. Null on other channels, and when WhatsApp doesn't show it.
data[].participant.instagramUsernamestring or nullThe customer's Instagram username, when known. Null on WhatsApp.
data[].createdAtstringWhen the conversation was created in Chatwise. ISO 8601, in UTC.
data[].lastMessageAtstring or nullWhen the latest message was sent. Null before the first one. ISO 8601, in UTC.
pagination.nextCursorstring or nullSend it as cursor for the next page. Null on the last page.

Errors

StatusMessageWhat it means
400Validation failedA parameter or body field is missing, unknown or malformed. errors lists each one.
400Invalid cursor or cursor does not match this requestThe cursor isn't one this route returned, or the filters or order changed since.
401A valid Bearer API key is requiredThe Authorization header is missing or isn't Bearer <API key>.
401Invalid or revoked API keyThe key doesn't exist, was revoked, or has expired.
401Invalid API keyChatwise couldn't check the key. Try again.
403API key does not have the required scope: conversations:readThe key lacks the route's scope. Create a key that has it.
429API key rate limit exceededWait the number of seconds in the Retry-After header.
500Internal server errorSomething failed in Chatwise. Retry reads with backoff.

The body of an error is described in errors.

On this page