# List incident groups

List your incident groups, newest first.

[endpoint]
method = "GET"
base_url = "https://incidents.betterstack.com"
path = "/api/v6/incident-groups"

[[query_param]]
name = "page"
type = "integer"
description = "Page to return, starting at 1."

[[query_param]]
name = "per_page"
default = "10"
type = "integer"
description = "Results per page. Maximum 50."

[[query_param]]
name = "team_id"
type = "string"
description = "Team to use, such as `t123`. Get the ID via [List teams](/docs/uptime/api/teams/list/). Required when you can access more than one team."

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

[info]
#### Results are paginated
Use `pagination.next` and `pagination.prev` to move through pages or jump to a specific one using `page` and `per_page`. See [Pagination](/docs/getting-started/integrations/api/#pagination).
[/info]

[responses]
[[response]]
status = 200
description = "Returns the list of incident groups."
body = '''
{
  "data": [
    {
      "id": "123456789",
      "type": "incident_group",
      "attributes": {
        "name": "Checkout 502s",
        "incidents_count": 3,
        "started_at": "2026-11-21T22:04:11.000Z",
        "acknowledged_at": "2026-11-21T22:09:30.000Z",
        "acknowledged_by": {
          "name": "John Smith",
          "email": "john@example.com"
        },
        "team_id": "t123",
        "team_name": "Production"
      }
    }
  ],
  "pagination": {
    "first": "https://incidents.betterstack.com/api/v6/incident-groups?page=1",
    "last": "https://incidents.betterstack.com/api/v6/incident-groups?page=1",
    "prev": null,
    "next": null,
    "total_count": 1
  }
}
'''

[[response]]
status = 401
description = "The API token is missing or invalid."
body = '''
{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
'''

[[response]]
status = 403
description = "Your role doesn't allow viewing this, or the token can't be used for this API."
[/responses]

[params]
title = "Response attributes"

[[param]]
name = "id"
type = "string"
description = "The ID of the incident group."

[[param]]
name = "type"
type = "string"
description = "Always `incident_group`."

[[param]]
name = "name"
type = "string or null"
description = "The group's name, up to 100 characters. `null` when it has none."

[[param]]
name = "incidents_count"
type = "integer"
description = "How many incidents the group holds. Incidents still being confirmed aren't counted."

[[param]]
name = "started_at"
type = "datetime"
description = "When the group's earliest incident started. Removing that incident from the group doesn't change it. In ISO 8601 format, such as `2026-07-01T12:00:00Z`."

[[param]]
name = "acknowledged_at"
type = "datetime or null"
description = "When someone acknowledged the group. New incidents that join it later are acknowledged too. `null` while nobody has. In ISO 8601 format, such as `2026-07-01T12:00:00Z`."

[[param]]
name = "acknowledged_by"
type = "object or null"
description = "Who acknowledged the group. `null` while nobody has."

[[param]]
name = "acknowledged_by.name"
type = "string"
description = "Full name of the team member, or the text credited instead of a team member."

[[param]]
name = "acknowledged_by.email"
type = "string or null"
description = "E-mail of the team member. `null` when the group was credited to something other than a team member, such as `API`, Slack or a custom text."

[[param]]
name = "team_id"
type = "string"
description = "Team that owns the group, such as `t123`."

[[param]]
name = "team_name"
type = "string"
description = "Name of the team that owns the group."

[[param]]
name = "pagination.first"
type = "string"
description = "The URL of the first page of results."

[[param]]
name = "pagination.last"
type = "string"
description = "The URL of the last page of results."

[[param]]
name = "pagination.prev"
type = "string or null"
description = "The URL of the previous page, or `null` on the first page."

[[param]]
name = "pagination.next"
type = "string or null"
description = "The URL of the next page, or `null` on the last page."

[[param]]
name = "pagination.total_count"
type = "integer"
description = "How many results the whole list holds, across every page."
[/params]

#### Example cURL

```shell
[label List incident groups]
curl --request GET \
  --url https://incidents.betterstack.com/api/v6/incident-groups \
  --header "Authorization: Bearer $TOKEN"
```
