Skip to content

Get messages

GET
/channels/{channelId}/messages

Authorizations

Authorization
TypeHTTP (bearer)

Parameters

Path Parameters

channelId*
Typeinteger
Required
format"int64"

Query Parameters

before
Typeinteger
format"int64"
default0
limit
Typeinteger
format"int32"
default25

Responses

OK

application/json
JSON
[
{
"id": 0,
"content": "string",
"author": "[Circular Reference]",
"channel": "[Circular Reference]",
"attachments": [
{
"id": 0,
"uuid": "string",
"filename": "string",
"contentType": "string",
"flags": 0
}
],
"createdAt": 0
}
]

Playground

Server
Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python