Slack App OAuth callback
GET
/slack/app/install/callback
const url = 'https://example.com/api/slack/app/install/callback';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/slack/app/install/callbackHandles the redirect after a workspace admin approves the Slack app. Verifies the single-use state, exchanges the code, and redirects to the portal project settings tab.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” code
string
state
string
error
string
Responses
Section titled “ Responses ”Redirect to the portal project settings tab