Skip to content

Get messages from a conversation​

GET
/api/conversations/{conversationId}/messages

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

conversationId*
Type
integer
Required
Minimum
1

Query Parameters

olderThanId
Type
[ "integer", "null" ]
Minimum
1
limit
Type
[ "integer", "null" ]
Minimum
1

Responses​

Success.

application/json
JSON
{
  
"messages": [
  
  
{
  
  
  
"id": 0,
  
  
  
"body": "string",
  
  
  
"sentAt": "string",
  
  
  
"authorId": 0
  
  
}
  
],
  
"profiles": [
  
  
{
  
  
  
"id": 342528,
  
  
  
"name": "Franzi",
  
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
  
"isSleeping": null
  
  
}
  
]
}

Playground​

Authorization
Variables
Key
Value

Samples​