Skip to content
FoxoChat
Search
K
Appearance
Menu
Return to top
Create message
POST
/channels/{channelId}/messages
Authorizations
Authorization
Type
HTTP (bearer)
Parameters
Path Parameters
channelId
*
Type
integer
Required
format
"int64"
Request Body
application/json
Schema
JSON
JSON
{
"content"
:
"string"
,
"attachments"
:
[
0
]
}
Responses
200
OK
Content-Type
application/json
Schema
JSON
JSON
{
"ok"
:
true
}
POST
/channels/{channelId}/messages
Playground
Server
Select a server...
Authorization
Authorization
Variables
Key
Value
channelId
*
Body
Try it out
Samples
cURL
JavaScript
PHP
Python
cURL
JavaScript
PHP
Python