List all Slack integrations

Returns a list of all your Slack integrations.

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

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,
        "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
          }
        ]
      }
    }
  ],
  "pagination": {
    "first": "https://uptime.betterstack.com/api/v2/slack-integrations?page=1",
    "last": "https://uptime.betterstack.com/api/v2/slack-integrations?page=1",
    "prev": null,
    "next": null
  }
}

Example cURL

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