slack
Slack Integration

Slack Oauth Callback

Handle Slack OAuth callback.

Called by Slack after user authorizes the app. Exchanges the code for a bot token and stores it.

Note: This endpoint is publicly accessible (called by Slack redirect), so it uses the CSRF state for validation instead of AppContext.

get/api/v1/integrations/slack/oauth/callback

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/integrations/slack/oauth/callback
  • Auth: none declared

Query parameters

codestring nullable

OAuth authorization code

statestring required

CSRF state token

errorstring nullable

Error code if user denied authorization

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.