latestOpenAPI 3.1.02026-08-1014497184.0 KB
8b99dca11019
magicbell_slackbot
Save a MagicBell SlackBot installation
Creates a new installation of a MagicBell SlackBot integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration.
put/integrations/magicbell_slackbot/installations
Request body
Example request
{
"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"
}Response
OK
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"
}