The Conversations API gives you programmatic access to your support inbox: list and filter conversations, read full message threads, and follow the internal discussion your team keeps alongside each one.
What a conversation is
A conversation is a thread between a customer (the contact) and your team. Each one carries:
- Messages — the visible thread: inbound customer messages, outbound agent replies, and AI-generated answers.
- Discussion — a separate internal-only thread for team coordination. Customers never see it.
- A draft — at most one in-progress reply stored on the conversation.
- Status (
open,pending,closed), an optional assignee, and the contact.
Conversations have both an id (used in all API paths) and a human-facing number (what your team sees as "#422"). To resolve a number to a full conversation:
curl -s -X GET \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/conversations/number/422"
Channels
The from field tells you where a conversation originated:
from | Channel |
|---|---|
email | The customer emailed your support address. |
widget | The customer chatted via the embedded widget. |
website | The customer interacted on your help center website (e.g. AI search). |
Read endpoints work identically for all channels. Replies are always delivered by email, whatever the channel — see How to reply to customers via API?
Message roles
| Role | Meaning |
|---|---|
user | Inbound message from the customer. |
agent | Outbound message from a human agent. |
ai | AI-generated reply (common on widget and website conversations). |
note | Internal discussion entry posted by a teammate. |
system | System-generated entry. |
Read a conversation
curl -s -X GET \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/conversations/CONVERSATION_ID"
One call returns everything: metadata, contact, assignee, the stored draft, all messages, and the full discussion thread — both sorted newest-first.
To keep responses manageable, each message body is truncated at 2,000 characters. Truncated entries carry "truncated": true and a content_length object with the real lengths. To read a full body, fetch the entry by ID — the single-message response is never truncated:
curl -s -X GET \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/conversations/CONVERSATION_ID/messages/MESSAGE_ID"
The :messageId parameter accepts either the message's id or its email message_id (the RFC 5322 Message-ID — URL-encode it, since it contains <, >, and @). The same endpoint returns discussion entries too.
Please Note
Reading a conversation via the API does not mark it as read in the dashboard.
List and filter conversations
curl -s -X GET \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/conversations?status=open&unread=true&limit=20"
Each conversation in a list response inlines its 5 most recent messages and the full discussion thread (truncated the same way). messages_has_more: true means older messages exist — fetch the single conversation to read them.
| Parameter | Description |
|---|---|
status | Filter by open, pending, or closed. Repeat the parameter for multiple. |
assignee | Filter by assignee user ID, or unassigned. |
contact | Filter by contact ID. |
mentioned | Conversations where a user was mentioned in discussion. Pass me for the key's owner, or a user ID. Repeat for OR semantics. |
search | Full-text search across messages and metadata. |
unread | true to return only unread conversations. |
created_after / created_before | ISO 8601 bounds on creation time. |
limit, starting_after, ending_before | Cursor pagination (1–100, default 50). |
GET /conversations/count honors the same filters and returns totals per status (open, pending, closed, total).
List your team
curl -s -X GET \
-H "Authorization: Bearer $HC_API_KEY" \
"https://api.help.center/v0/centers/$HC_CENTER_ID/users"
Returns the members of your center — the user IDs you need for assignee filters, assignment, and mentions.
Endpoint reference
| Action | Method | Endpoint | Scope |
|---|---|---|---|
| List conversations | GET | /v0/centers/:centerId/conversations | conversation.read |
| Count conversations | GET | /v0/centers/:centerId/conversations/count | conversation.read |
| Get conversation | GET | /v0/centers/:centerId/conversations/:conversationId | conversation.read |
| Get by number | GET | /v0/centers/:centerId/conversations/number/:number | conversation.read |
| Get message | GET | /v0/centers/:centerId/conversations/:conversationId/messages/:messageId | conversation.read |
| List center users | GET | /v0/centers/:centerId/users | conversation.read |