latestOpenAPI 3.1.02026-08-1014497184.0 KB
8b99dca11019
slack
Finish a Slack installation
Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack.
post/integrations/slack/installations/finish
Request body
Example request
{
"app_id": "12345678901",
"code": "string",
"redirect_url": "string"
}Response
Created
Example response
{
"access_token": "xoxb-123456789012-1234567890123-12345678901234567890abcdef123456",
"app_id": "A12345678",
"authed_user": {
"id": "U12345678",
"scope": "identify,commands"
},
"bot_user_id": "U12345678",
"enterprise_id": "E12345678",
"enterprise_name": "Enterprise Grid, Inc.",
"id": "A12345678-T123",
"incoming_webhook": {
"channel": "C12345678",
"channel_id": "C12345678",
"configuration_url": "https://teamname.slack.com/services/B12345678",
"url": "https://hooks.slack.com/services/T12345678/B12345678/123456789012345678901234"
},
"scope": "identify,commands,bot",
"team": {
"id": "T123",
"name": "Team Installing Your App"
},
"team_id": "T12345678",
"team_name": "Team Installing Your App"
}