List Conversations
const url = 'https://api.nuntius.chat/public/v1/conversations?offset=0&limit=50';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.nuntius.chat/public/v1/conversations?offset=0&limit=50' \ --header 'X-API-Key: <X-API-Key>'List the tenant’s conversations (SPEC_API_PUBLICA.md §2.3).
status matches the RAW domain value (PublicConversationOut’s own docstring); an
unrecognized value simply matches nothing, same listing-filter convention as customerId on
GET /public/v1/leads.
Permiso necesario: tenant:conversations.read
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Query Parameters
Sección titulada «Query Parameters»Responses
Sección titulada «Responses»Successful Response
GET /public/v1/conversations response envelope.
object
A single conversation, curated subset of the internal ConversationOut.
Drops channelName/mode/sentiment/quality/unreadCount – operator-console
presentation/workflow state, not part of the curated read surface (SPEC_API_PUBLICA.md §2.3’s
own “Excluido” list: workflow state is deliberately withheld from third parties). status
is the RAW Conversation.status domain value ('active'/'escalated'/'resolved'),
never the internal _map_status UI collapse to 'open' – see ConversationFilters’s
own docstring for why this NEW, independently-versioned contract does not inherit that
Platform presentation concern.
object
Curated customer block for a public conversation – a narrower shape than the internal
CustomerOut (schemas/inbox.py): drops avatarUrl (never populated by any real path
in this codebase) and authSessionActive (AC-4, an operator-console-only signal about a
LIVE Redis session – meaningless to an M2M integration polling this endpoint
asynchronously).
12-api-contract.md §3.2 offset/limit pagination metadata, verbatim shape.
object
Examplegenerated
{ "items": [ { "id": "example", "channel": "example", "channelId": "example", "status": "example", "subject": "example", "customer": { "id": "example", "name": "example", "email": "example", "phone": "example", "customerId": "example" }, "assignedOperatorId": "example", "lastMessagePreview": "example", "lastMessageAt": "example", "createdAt": "example" } ], "total": 1, "pagination": { "page": 1, "pageSize": 1, "totalItems": 1, "totalPages": 1, "hasNext": true, "hasPrev": true }}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}