Skip to content

Slack Oauth Link

GET
/api/auth/slack/link
curl --request GET \
--url https://example.com/api/auth/slack/link \
--header 'Authorization: Bearer <token>'

Initiate Slack OAuth to link a Slack identity to an existing account.

Unlike /auth/slack/authorize (which creates/logs in), this flow attaches the Slack identity to the currently authenticated user. A CSRF token in the OAuth state param prevents forgery.

Successful Response

Media type application/json
Example generated
example