Skip to main content
GET
/
api
/
v1
/
chats
List chats
curl --request GET \
  --url https://app.sure.am/api/v1/chats \
  --header 'Authorization: <authorization>'
{
  "chats": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "message_count": 1,
      "error": "<string>",
      "last_message_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "page": 2,
    "per_page": 2,
    "total_count": 1,
    "total_pages": 1
  }
}

Headers

Authorization
string
required

Bearer token with read scope

Response

chats listed

chats
object[]
required
pagination
object
required