Integrations
Generate chat OAuth URL
Deprecated — use POST /integrations/channel-connections/oauth (connect) or POST /integrations/channel-endpoints/oauth (link_user) instead. Generate an OAuth URL for chat integrations like Slack, MS Teams, and Webex. This URL allows subscribers to authorize the integration, enabling the system to send messages through their chat workspace. The generated URL expires after 5 minutes.
post/v1/integrations/chat/oauth
Request body
Example request
{
"subscriberId": "subscriber-123",
"connectionIdentifier": "slack-connection-abc123",
"scope": [
"chat:write",
"chat:write.public",
"channels:read",
"groups:read",
"users:read",
"users:read.email",
"incoming-webhook"
],
"userScope": [
"identity.basic"
],
"mode": "link_user",
"connectionMode": "shared",
"autoLinkUser": true
}Response
Created
Example response
{
"url": "https://slack.com/oauth/v2/authorize?state=..."
}Changes
No recorded changes to this endpoint across all 13 revisions of this API.