Conversations
Chat conversations with their messages as the guest saw them.
Chat conversations with their messages as the guest saw them. Internal notes of the team are never part of the API.
List conversations
GET /conversations
| Scope | Package | Idempotency-Key |
|---|---|---|
conversations:read | Scale (API) | not used |
An unknown filter value is a 400 invalid_request with field filter.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | 1 to 100. Default 25. |
offset | query | integer | Default 0. |
filter | query | string | One of all, open, request, live, unassigned, done. |
include | query | string | One of messages. |
Request
curl "https://hevia.app/api/v1/conversations?filter=open&limit=25" \
-H "Authorization: Bearer $HEVIA_KEY"Response
200 OK.
JSON
{
"data": [
{
"id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"language": "de",
"status": "open",
"inbox_status": "example inbox status",
"priority": "example priority",
"assignee_name": "example assignee name",
"tags": [
"example tag"
],
"contact": {
"name": "Anna Example",
"email": "anna@example.com",
"phone": "+49 30 1234567"
},
"started_at": "2026-11-10T09:30:00.000Z",
"updated_at": "2026-11-10T09:30:00.000Z",
"message_count": 1,
"messages": [
{
"role": "guest",
"content": "Do you have a table for four tonight?",
"at": "2026-11-10T09:30:00.000Z",
"author": "example author"
}
]
}
],
"pagination": {
"limit": 25,
"offset": 0,
"total": 1,
"next_offset": null
}
}Fields of Conversation:
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
language | string | |
status | string | |
inbox_status | string | null | |
priority | string | null | |
assignee_name | string | null | |
tags | string[] | |
contact | object | null | |
started_at | string (date-time) | |
updated_at | string (date-time) | |
message_count | integer | |
messages | Message[] |
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | Invalid request |
| 401 | unauthorized | Missing or invalid key |
| 403 | insufficient_scope | The key or token does not have the scope of the endpoint. |
| 403 | plan_required | The business's package does not include the API (Scale) or the feature of the endpoint. |
| 429 | rate_limited | Rate limit (120 requests per minute and key); see the RateLimit-* headers |
One conversation with its messages (internal notes are never included)
GET /conversations/{id}
| Scope | Package | Idempotency-Key |
|---|---|---|
conversations:read | Scale (API) | not used |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id (required) | path | string (uuid) | Id |
Request
curl "https://hevia.app/api/v1/conversations/3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70" \
-H "Authorization: Bearer $HEVIA_KEY"Response
200 OK.
JSON
{
"data": {
"id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"language": "de",
"status": "open",
"inbox_status": "example inbox status",
"priority": "example priority",
"assignee_name": "example assignee name",
"tags": [
"example tag"
],
"contact": {
"name": "Anna Example",
"email": "anna@example.com",
"phone": "+49 30 1234567"
},
"started_at": "2026-11-10T09:30:00.000Z",
"updated_at": "2026-11-10T09:30:00.000Z",
"message_count": 1,
"messages": [
{
"role": "guest",
"content": "Do you have a table for four tonight?",
"at": "2026-11-10T09:30:00.000Z",
"author": "example author"
}
]
}
}Fields of Conversation:
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
language | string | |
status | string | |
inbox_status | string | null | |
priority | string | null | |
assignee_name | string | null | |
tags | string[] | |
contact | object | null | |
started_at | string (date-time) | |
updated_at | string (date-time) | |
message_count | integer | |
messages | Message[] |
Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | Missing or invalid key |
| 403 | insufficient_scope | The key or token does not have the scope of the endpoint. |
| 403 | plan_required | The business's package does not include the API (Scale) or the feature of the endpoint. |
| 404 | not_found | Not found |
| 429 | rate_limited | Rate limit (120 requests per minute and key); see the RateLimit-* headers |