Slack channels
List the Slack channels you can add, and add one so products can give access to it.
Products give access to private Slack channels of the connected workspace. To make a channel available:
- In Slack, invite SellApp's app to the private channel.
- Set the workspace invite link with update the Slack invite link, so customers can join the workspace.
- List the channels you can add, then add one with its
id.
The channel then appears in servers of GET /v2/community-connections, and product variants can give access to it.
List the private channels of the connected Slack workspace that SellApp's Slack app is a member of and that the store has not added yet. Add one with POST on the same path so products can give access to it. A channel is missing when the app is not in it: invite the app to the channel in Slack first. SellApp asks Slack for the list; when Slack does not answer, channels is empty. 422 on platform when Slack is not connected. Requires the community API-key ability and the community permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
Successful response.
application/json- response
data*curl -X GET 'https://sell.app/api/v2/community-connections/slack/channels' \ -H 'X-STORE: launch-lab'{ "data": { "channels": [ { "id": "C07LAUNCHVIP", "name": "vip-members", "is_private": true, "num_members": 42 } ], "registered_count": 1 }}Add a private Slack channel to the store so product variants can give customers access to it. The workspace needs an invite link first, so customers can join it: set it with PUT /v2/community-connections/slack/invite-link. SellApp checks with Slack that its app is a member of the channel. Adding a channel the store already has updates its name and returns 201 again, so a retry is safe. 422 on platform when Slack is not connected, on workspace_invite_link when the invite link is missing, and on channel_id when the app cannot see the channel. Requires the community API-key ability and the community permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
application/json- body
channel_id*stringThe Slack channel ID, from channels[].id of GET /v2/community-connections/slack/channels.
length <= 255The channel was added.
application/json- response
data*curl -X POST 'https://sell.app/api/v2/community-connections/slack/channels' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "channel_id": "C07LAUNCHVIP"}'{ "data": { "id": "C07LAUNCHVIP", "name": "vip-members" }}