List outgoing PagerDuty integrations

List your PagerDuty integrations, which forward Better Stack incidents to PagerDuty services.

GET https://incidents.betterstack.com/api/v3/outgoing-pagerduty-integrations
page integer

Page to return, starting at 1.

per_page integer default: 50

Results per page. Maximum 250.

team_id string

Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.

Authorization string required

Bearer $TOKEN

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.

200

Returns the list of outgoing PagerDuty integrations.

200 OK
{
  "data": [
    {
      "id": "123456789",
      "type": "pagerduty_integration",
      "attributes": {
        "name": "PagerDuty alerts",
        "key": "routing-key-placeholder",
        "severity": "critical",
        "notify_alongside_primary_responder": true,
        "team_id": "t123",
        "team_name": "Production"
      }
    }
  ],
  "pagination": {
    "first": "https://incidents.betterstack.com/api/v3/outgoing-pagerduty-integrations?page=1",
    "last": "https://incidents.betterstack.com/api/v3/outgoing-pagerduty-integrations?page=1",
    "prev": null,
    "next": null,
    "total_count": 1
  }
}
401

The API token is missing or invalid.

401 Unauthorized
{
  "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"
}
403

Your role doesn't include View past performance, uptime, and response times on Monitors, heartbeats, integrations, or the token can't be used for this API.

id string

The ID of the outgoing PagerDuty integration.

type string

Always pagerduty_integration.

name string

Integration name.

key string

PagerDuty integration key, also called the routing key.

severity string

PagerDuty severity sent with the event. Possible values: info, warning, error, critical.

notify_alongside_primary_responder boolean

Whether to notify this PagerDuty integration alongside the primary responder for incidents with no escalation policy. For an incident with an escalation policy, it's notified only when a step of that policy notifies it.

team_id string

Team that owns this integration, such as t123.

team_name string

Name of the team that owns this integration.

pagination.first string

The URL of the first page of results.

pagination.last string

The URL of the last page of results.

pagination.prev string or null

The URL of the previous page, or null on the first page.

pagination.next string or null

The URL of the next page, or null on the last page.

pagination.total_count integer

How many results the whole list holds, across every page.

Example cURL

List outgoing PagerDuty integrations
curl --request GET \
  --url https://incidents.betterstack.com/api/v3/outgoing-pagerduty-integrations \
  --header "Authorization: Bearer $TOKEN"