MagicBell SlackBot Channel Provider

Configuration

To configure the MagicBell SlackBot integration, you'll need the following data:

required fields are marked with an `*`
ParameterTypeDescription
enabledboolean *

In the Dashboard

The easiest way to configure this integration is through the MagicBell dashboard:

  1. Log in to your MagicBell dashboard.
  2. Navigate to Channels.
  3. Find and click on this channel name in the sidebar.
  4. Click the Configure MagicBell SlackBot button.
  5. Follow the on-screen instructions to complete the configuration.

Using the API

Use the API to save , list and delete MagicBell SlackBot. For example, to save the integration:

Request
curl --request PUT \
  --url 'https://api.magicbell.com/v2/integrations/magicbell_slackbot' \
  --header 'content-type: application/json' \
  --header "authorization: Bearer $TOKEN" \
  --data '{"enabled":true}'

Channel Token

The channel token contains all the information (along with the config) necessary to deliver the notification on the MagicBell SlackBot channel.

required fields are marked with an `*`
ParameterTypeDescription
webhookobject Obtained directly from the incoming_webhook object in the installation response from the Slack API.
└ urlstring *The URL for the incoming webhook from Slack
oauthobject
└ scopestring The OAuth scope granted during installation
└ channel_idstring *The ID of the Slack channel this installation is associated with
└ installation_idstring *A unique identifier for this Slack workspace installation

Example

{
  "webhook": {
    "url": "https://example.com/webhook"
  }
}

Managing Tokens

Use the API to list , list , delete , delete , save , fetch and fetch MagicBell SlackBot tokens. For example, to save a token:

Request
curl --request PUT \
  --url 'https://api.magicbell.com/v2/channels/slack/magicbell_slackbot/tokens' \
  --header 'content-type: application/json' \
  --header "authorization: Bearer $TOKEN" \
  --data '{"webhook":{"url":"https://example.com/webhook"}}'