Conversation Object
List Conversations
| Query Parameter | Type | Description |
|---|---|---|
skip | integer | Records to skip |
limit | integer | Records to return (1-1000) |
status | string | active or completed |
assistant_id | integer | Filter by assistant |
customer_phone | string | Filter by customer phone |
date_from | string | ISO timestamp lower bound |
date_to | string | ISO timestamp upper bound |
Get Conversation
404.
Get Messages
Response
Related Conversations
Response
Export Conversation
format values: txt, csv, json.
This endpoint returns a file download with Content-Disposition, not a JSON wrapper.
Archive Conversation
- Marks the SMS call record as deleted via
call_meta.sms_deleted. - Deletes chat messages for the SMS conversation.
- Deletes SMS audit and message logs linked to that conversation.
- Clears related Redis keys on a best-effort basis.
- Allows future messages between the same numbers to start a fresh conversation.
Response
SMS Sessions
Session endpoints expose Redis-backed active SMS session state.GET /api/v1/sms-sessions/ returns:
Response
DELETE /api/v1/sms-sessions/ clears sessions:
Response