Skip to Content
API ReferenceCommunity connections

Update the Slack invite link

Set or remove the link customers use to join your Slack workspace.

Customers who buy access to a Slack channel join your workspace through this invite link. Adding channels needs it. Send null to remove it.

PUT
/v2/community-connections/slack/invite-link

Set or remove the invite link customers use to join the store's Slack workspace before they get access to a channel. Adding channels needs it. Send it as invite_link, or as workspace_invite_link, the name the response uses, so a response can be sent back unchanged; when you send both they must be equal. A link whose host is not join.slack.com returns 422 on the field you sent. 422 on platform when Slack is not connected. Sending the same link again is safe. 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.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store 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.

Request Body

application/json
  1. body
invite_link?|

A Slack invite link on join.slack.com, such as https://join.slack.com/t/launch-lab/shared_invite/zt-2abc123. null removes it.

Lengthlength <= 500
workspace_invite_link?|

Another name for invite_link. One of the two is required.

Lengthlength <= 500

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/community-connections/slack/invite-link' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "invite_link": "https://join.slack.com/t/launch-lab/shared_invite/zt-2abc123"}'
{  "data": {    "workspace_invite_link": "https://join.slack.com/t/launch-lab/shared_invite/zt-2abc123"  }}