Skip to content

Get message

GET
/channels/{channelId}/messages/{messageId}

Authorizations

Authorization
TypeHTTP (bearer)

Parameters

Path Parameters

channelId*
Typeinteger
Required
format"int64"
messageId*
Typeinteger
Required
format"int64"

Query Parameters

withChannel
Typeboolean
defaultfalse
withAttachments
Typeboolean
defaultfalse
withAuthor
Typeboolean
defaultfalse

Responses

OK

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

Playground

Server
Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python