Get the list of conversations for the current user
GET
/api/conversations
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
Type
API Key (header: X-CSRF-Token)
Parameters
Query Parameters
limit
Type
[
"integer",
"null"
]
offset
Type
[
"integer",
"null"
]
Responses
Success.
application/json
JSON "conversations": [ { "id": 0, "title": "string", "storeId": 0, "unreadMessages": 0, "lastMessage": { "id": 0, "body": "string", "sentAt": "string", "authorId": 0 }, "messages": [ { "id": 0, "body": "string", "sentAt": "string", "authorId": 0 } ] } ], "profiles": [ { "id": 342528, "name": "Franzi", "avatar": "99d1fb45-9748-3510-ac02-87b46c40048c", "isSleeping": null } ]
{
}