Skip to content
Chatwise
Skip to Content
Developer docs

Get a conversation

GET /v1/conversations/{conversationId}. Reads one conversation: its channel, status and customer.

View as Markdown

GEThttps://api.chatwise.so/v1/conversations/{conversationId}

Reads one conversation: its channel, status and customer.

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

Example

curl 'https://api.chatwise.so/v1/conversations/1234' \
  -H "Authorization: Bearer $CHATWISE_API_KEY"

Path parameters

NameTypeDescription
conversationIdstringRequired. The conversation's id.

Response

200. The conversation.

{
  "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"
  }
}
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.

Errors

StatusMessageWhat it means
400Validation failedA parameter or body field is missing, unknown or malformed. errors lists each one.
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.
404Conversation not foundNo conversation with this id in the key's workspace.
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