PagerDuty Blog

New APIs Available Now

Have you ever said to yourself: “PagerDuty is great, but I wish I could better integrate it into the custom tools I already use.” Or maybe: “Why can’t I see more reports on the number of incidents each of my team members have worked on, bucketed by MTTR, split out by seniority of the person resolving the incident, graphed against the average length of their facial hair, etc, etc?”

Well, now you can! PagerDuty is happy to announce the release of a couple new REST APIs for querying your current and past incidents, as well as your various on-call schedules.

The new Incidents API allows you to query your incident data and integrate it into your custom operations dashboards. It also allows you to produce tailor-made summaries and incident reports for your ops teams on a weekly or monthly basis, or whatever time frame you like.

The new on-call Schedule API allows you to programmatically query on-call scheduling data. Using this API, you can integrate your on-call schedules with your existing calendar applications, user directories, and messaging systems such as Campfire, Hipchat or IRC. We hope that this API will help you bring better visibility into who is on-call in your organization, which can’t hurt in terms of ensuring that no problems or alerts go unattended even for short periods of time.

These two new APIs are currently read-only, but we hope to eventually broaden them so that you’ll be able to, say, create and edit your schedules via the same API. We also hope to eventually surface other REST resources (like user profiles, escalation policies, etc), via other APIs in the future as well.

For more information on our new REST APIs, or our existing monitoring integration API, please see our documentation.