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
- Base URL: https://api.notifly.io
- URL: https://api.notifly.io/v1/integrations/chat/oauth
- Auth: API key in header Authorization
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
{
"data": {
"url": "https://slack.com/oauth/v2/authorize?state=..."
}
}Changes
No recorded changes to this operation across all 1 revision of this API.