Get messages from a conversation
GET
/api/conversations/{conversationId}/messages
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
TypeAPI Key (header: X-CSRF-Token)
Parameters
Path Parameters
conversationId*
Typestring
RequiredPattern
"[1-9][0-9]*"Query Parameters
olderThanId
Typeinteger
Minimum
1limit
Typeinteger
Minimum
1Responses
Success.
application/json
JSON
{
"messages": [
{
"id": 0,
"body": "string",
"sentAt": "string",
"authorId": 0
}
],
"profiles": [
{
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
}
]
}