posts
Create a post
Create a new post in a channel. To create the post as a comment on another post, provide root_id.
Permissions
Must have create_post permission for the channel the post is being created in.
post/api/v4/posts
Query parameters
set_onlineboolean
Whether to set the user status as online or not.
Request body
Example request
{
"channel_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"root_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}Response
Post creation successful