All integrations
Get an API key
PagerDuty
Incidents, services, schedules and on-call in PagerDuty.
Monitoring
How an agent reaches it
MCPREST APICLI
How you authenticate
API key
- Create a REST API key in Integrations, then API access keys.
- PagerDuty expects `Authorization: Token token=<value>`, which is an unusual shape.
Connection details
- Base URL
- https://api.pagerduty.com
- Pagination
- offset
Common endpoints
| list incidents | GET /incidents?statuses[]=triggered |
| list services | GET /services |
| who is on call | GET /oncalls |
| trigger an alert | POST https://events.pagerduty.com/v2/enqueue |
Worth knowing
- The Authorization value is `Token token=<key>`, not a plain Bearer.
- The versioned Accept header is required.
- Triggering an alert uses a different host and a routing key: events.pagerduty.com/v2/enqueue.
- Writes need a From header carrying a valid user email.