Skip to content

Create message​

POST
/channels/{channelId}/messages

Authorizations​

Authorization
TypeHTTP (bearer)

Parameters​

Path Parameters

channelId*
Typeinteger
Required
format"int64"

Request Body​

application/json
JSON
{
"content": "string",
"attachments": [
0
]
}

Responses​

OK

application/json
JSON
{
"ok": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

cURL
JavaScript
PHP
Python