Skip to content

Open a new channel in a community

POST
/apps/{appId}/communities/{communityId}/channels
curl --request POST \
--url https://api.passion.io/v1/apps/example/communities/example/channels \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "description": "example" }'
appId
required

The id of the App, as Studio shows it.

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

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

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

The name of the channel, for example “Introductions”.

string
>= 1 characters
description

What the channel is for. Members see it under the name.

string
Examplegenerated
{
"name": "example",
"description": "example"
}

OK

Media typeapplication/json
object
channelId
required
string
communityId
required
string
name
required
string
description
required
Any of:
string
Examplegenerated
{
"channelId": "example",
"communityId": "example",
"name": "example",
"description": "example"
}