# List Slack integrations

Returns a list of all your Slack integrations. This endpoint [supports pagination](https://betterstack.com/docs/uptime/api/pagination/).

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/slack-integrations"
method = "GET"

[[query_param]]
name = "team_name"
description = "Filter Slack integrations belonging to a specified team when using [global API token](https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-a-global-api-token)."
required = false
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = '''Returns list of existing Slack integrations'''
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
          }
        ]
      }
    }
  ],
  "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
  }
}
'''

[/responses]

#### Example cURL 

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

[info]
#### Looking for the details of a specific parameter?
Explore [the list of all Slack integration API parameters](https://betterstack.com/docs/uptime/api/slack-integrations-response-params/).
[/info]
