About PagerDuty
PagerDuty is an incident response and on-call management platform that helps teams detect, triage, and resolve critical issues. The Serval integration stores a PagerDuty REST API key for your account and lets workflows call any part of the PagerDuty REST API with authentication handled for you - workflow authors never see or handle the key. You can connect multiple PagerDuty accounts to the same team, each as its own connection. Authentication: a PagerDuty REST API key. A General Access REST API key (account-level) is the standard choice; a User Token REST API key also works but is limited to that one user’s permissions. The key is stored encrypted and attached automatically to every request - and Serval only ever sends it to PagerDuty’s own API host, api.pagerduty.com. Data sync: on demand. There is no background sync - Serval calls PagerDuty only when a workflow runs.What the PagerDuty integration enables
Get your credentials
You need a PagerDuty REST API key. PagerDuty offers two kinds that both work with Serval: a General Access REST API key (account-level - recommended) and a User Token REST API key (tied to one person and restricted to their permissions). See PagerDuty’s guide to API Access Keys for details.Sign in with the right permissions
Open the API Access Keys page
Create the key
Copy the key immediately
Double-check the account
Connect in Serval
Start a new PagerDuty connection
Optionally name the instance
Paste your API key
Submit
Verifying the connection
PagerDuty connections don’t currently include built-in health checks, so you won’t see a health-check panel on this connection the way you do for some other integrations. The key is fully validated at connect time (Serval reads your team list), and you can confirm everything works after that:- Check that the connection appears with the expected name - your Instance Name, or your PagerDuty subdomain if you left it blank. The subdomain should match the account the key came from.
- Run a workflow that reads PagerDuty data (for example, listing on-call responders) and confirm it returns results.
Gotchas and troubleshooting
Connecting fails with 'Failed to install integration (HTTP 500)'
Connecting fails with 'Failed to install integration (HTTP 500)'
Your PagerDuty account must have at least one team
Your PagerDuty account must have at least one team
Updating the API key re-points the connection
Updating the API key re-points the connection
Leaving the masked API Key untouched on edit is safe
Leaving the masked API Key untouched on edit is safe
Read-only keys can connect but cannot write
Read-only keys can connect but cannot write
Notes for workflow builders
Notes for workflow builders
Need help? Contact support@serval.com for assistance with your PagerDuty integration.

