Skip to content

Publish a post in a community channel, as the creator

POST
/apps/{appId}/channels/{channelId}/posts
curl --request POST \
--url https://api.passion.io/v1/apps/example/channels/example/posts \
--header 'Content-Type: application/json' \
--data '{ "text": "example" }'
appId
required

The id of the App, as Studio shows it.

string
/^[1-9][0-9]*$/
channelId
required

The id of a channel, as the App overview lists it under its community.

string
/^[1-9][0-9]*$/
Media typeapplication/json
object
text
required

The post. Plain text or Markdown.

string
>= 1 characters <= 10000 characters
Examplegenerated
{
"text": "example"
}

OK

Media typeapplication/json
object
postId
required
string
channelId
required
string
text
required
string
createdAt
required
string
Examplegenerated
{
"postId": "example",
"channelId": "example",
"text": "example",
"createdAt": "example"
}