Integrate Postman with PagerDuty
PagerDuty is an incident management solution that integrates with monitoring stacks for alerting, on-call scheduling, and automatic escalation of critical incidents.
This integration triggers incidents in PagerDuty based on your Postman Monitor results so that your team can investigate and resolve collection run failures.
Retrieve your PagerDuty integration key
- Sign in to PagerDuty.
- In PagerDuty, click Services. If you’re creating a new service for this integration, click Services and then + New Service.
- Enter a Service Name.
- Using the Integrations dropdown menu, search and click Postman.
- Click the Add Service link at the bottom of the page to create a new service.
- Copy and save the PagerDuty integration key to use later.
Configure Postman with PagerDuty
- Click Integrations from Postman’s Home page.
- Search and select PagerDuty.
- Click Add Integration and enter the following:
- Nickname - A nickname for your integration.
- Choose workspace - The workspace that contains your monitor.
- Choose Monitor - Send this monitor’s results to PagerDuty.
- PagerDuty Integration Key - The API key from the PagerDuty Integrations page.
You can view your configured integrations on the Integrations page. Configured integrations have a green dot in the upper right corner of the tile.
Connect PagerDuty from a monitor
You can also connect PagerDuty when you create a monitor or edit an existing one. You don’t need to choose a workspace or monitor, because the integration is for that monitor. PagerDuty is notified only when a monitor run fails.
To connect PagerDuty from a monitor, do the following:
-
Open the monitor’s create or edit page.
-
Click Send updates to. Under Incident management, click PagerDuty.
-
In the Connect PagerDuty dialog, enter the following:
- Integration name - A name for the integration. By default, the name is the monitor’s name followed by ”- PagerDuty Integration”.
- Integration key - Enter your PagerDuty integration key.
-
Click Connect.
View PagerDuty results
The PagerDuty console updates continuously to display any incidents that result from your Postman Monitors. If the selected monitor fails, PagerDuty notifies you according to the formatting and business rules you set.