Үндсэн агуулга руу алгасах
API reference

Conversations, newest first

GET/conversations

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

platform?string
before?string

Cursor from next_before

Formatdate-time
limit?integer
Rangevalue <= 100
Default50

Response Body

application/json

application/json

curl -X GET "https://example.com/conversations"
{  "conversations": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "platform": "string",      "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",      "sender_id": "string",      "contact_name": "string",      "last_message": "string",      "last_message_at": "2019-08-24T14:15:22Z",      "is_read": true,      "is_ai_paused": true    }  ],  "next_before": "string"}