Integrations
Generate OAuth URL for a workspace/tenant connection
Generate an OAuth URL that creates a workspace or tenant-level channel connection (Slack workspace install, MS Teams admin consent, or Webex integration authorization). The generated URL expires after 5 minutes.
post/v1/integrations/channel-connections/oauth
Request body
Example request
{
"subscriberId": "subscriber-123",
"connectionIdentifier": "slack-connection-abc123",
"contextHash": "a1b2c3d4e5f6...",
"scope": [
"chat:write",
"chat:write.public",
"channels:read"
],
"connectionMode": "shared",
"autoLinkUser": true
}Response
Created
Example response
{
"url": "https://slack.com/oauth/v2/authorize?state=..."
}