Slack
Slack OAuth callback
Handles the OAuth callback from Slack, exchanges the code for a bot token, and saves the installation. Returns HTML on success or failure.
Query Parameters
code*string
OAuth authorization code
state*string
CSRF state parameter
Response Body
text/html
application/json
text/html
application/json
curl -X GET "http://localhost:3001/api/v1/slack/callback?code=string&state=string""string"{
"error": "string",
"message": "string",
"requestId": "string"
}"string"{
"error": "string",
"message": "string",
"requestId": "string"
}