List PagerDuty integrations

Returns a list of all your PagerDuty integrations.

GET https://incidents.betterstack.com/api/v2/pager-duty-webhooks

Query parameters

team_name
string
page
integer
per_page
integer

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "17",
      "type": "pager_duty_webhook",
      "attributes": {
        "name": "PagerDuty alerts",
        "key": "[key]",
        "severity": "critical",
        "notify_alongside_primary_responder": true,
        "team_name": "My team"
      }
    }
  ],
  "pagination": {
    "first": "https://incidents.betterstack.com/api/v2/pager-duty-webhooks?page=1",
    "last": "https://incidents.betterstack.com/api/v2/pager-duty-webhooks?page=1",
    "prev": null,
    "next": null
  }
}

Response attributes

id
string
type
string
attributes.name
string
attributes.key
string
attributes.severity
string
attributes.notify_alongside_primary_responder
boolean
attributes.team_name
string
pagination.first
string
pagination.last
string
pagination.prev
string or null
pagination.next
string or null

Example cURL

Example
curl --request GET \
  --url https://incidents.betterstack.com/api/v2/pager-duty-webhooks \
  --header "Authorization: Bearer $TOKEN"