Conversations
The Conversations API is the first active Woes REST API resource. It writes to the same workspace-scoped conversation and message model used by live chat, email, Discord, the operator inbox, and automations.Conversation Object
List Conversations
| Parameter | Type | Description |
|---|---|---|
limit | number | 1-100 conversations. Default: 20. |
status | string | open, waiting, or solved. |
channel | string | api, live-chat, email, or discord. |
customerId | string | Customer id stored on the conversation. |
Create Conversation
| Field | Type | Required | Description |
|---|---|---|---|
customer.id | string | Yes | Stable customer id from your system. |
customer.name | string | No | Customer display name. |
customer.email | string | No | Customer email address. |
customer.company | string | No | Customer company or account name. |
subject | string | Yes | Conversation subject. |
externalId | string | No | Idempotency-style external identifier. |
channel | string | No | Defaults to api. |
priority | string | No | Defaults to medium; 1-32 characters. |
201 Created
externalId already exists in the workspace, the API returns 409.
Retrieve Conversation
Update Conversation
| Field | Type | Description |
|---|---|---|
status | string | open, waiting, or solved. |
priority | string | 1-32 character priority label. |
subject | string | Updated conversation subject. |
List Messages
Create Message
| Field | Type | Required | Description |
|---|---|---|---|
body | string | Yes | Message body, up to 8,000 characters. |
role | string | No | user or assistant. Defaults to user. |
201 Created
Tenant Boundary
Every Conversations API call is scoped to the workspace attached to the API key. If a conversation id belongs to another workspace, Woes returns404 instead of
revealing that the record exists.