Get a single Slack integration

Returns a single Slack integration by ID.

GET https://uptime.betterstack.com/api/v2/slack-integrations/{slack_integration_id}

URL parameters

slack_integration_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "37",
    "type": "slack_integration",
    "attributes": {
      "slack_team_id": "T04UQ7K4QMB",
      "slack_team_name": "My Slack integration",
      "slack_channel_id": "C07Q2KF20EU",
      "slack_channel_name": "#better-stack-incidents",
      "slack_status": "active",
      "integration_type": "channel",
      "on_call_notifications": true,
      "team_name": "Testing",
      "alert_options": [
        {
          "type": "policy",
          "id": 73,
          "name": "High severity policy",
          "team_id": 7,
          "team_name": "My team"
        },
        {
          "type": "team",
          "id": 7,
          "name": "My team",
          "call": false,
          "sms": false,
          "email": true,
          "push": false
        }
      ]
    }
  }
}

Example cURL

Example
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/slack-integrations/37 \
  --header "Authorization: Bearer $TOKEN"