Account & Admin
API Access Keys
Generate and manage REST API and Events API access keys
PagerDuty offers two APIs, each requiring a different type of access key:
- REST API: Allows third parties to interact with configuration data in your account.
- Events API: Allows you to add PagerDuty's advanced event and incident management functionality to any system that can make an outbound HTTP connection.
REST API Keys
There are two types of REST API keys:
- General Access REST API Keys
- User Token REST API Keys
Both types of REST API keys are 20-character strings. They will produce an error if used with an Events API call.
REST API Availability
Generate a General Access REST API Key
Required User Permissions
- In the web app, navigate to Integrations > Developer Tools > API Access Keys.
- Click Create New API Key.
- Enter a Description to help you identify the key later. Optionally, check Read-only API Key to restrict the key to
GETcalls only. - Click Create Key.
API Key Storage
- Click Close.
The key will appear in the API Access Keys table with the following information: description, creation date, API version, access level, and disabled status (including who disabled it and when).
Disable a General Access REST API Key
Disabling a general access REST API key prevents it from working with the REST API. This action does not delete the key — it can be re-enabled at any time.
Required User Permissions
- In the web app, navigate to Integrations > Developer Tools > API Access Keys.
- In the API Access Keys table, click Disable next to the key you want to disable.
- Confirm your selection in the browser alert.
Enable a General Access REST API Key
- In the web app, navigate to Integrations > Developer Tools > API Access Keys.
- In the API Access Keys table, click Enable next to the key you want to enable.
Delete a General Access REST API Key
Irreversible Action
Required User Permissions
- In the web app, navigate to Integrations > Developer Tools > API Access Keys.
- In the API Access Keys table, click Remove next to the key you want to delete.
- Confirm your selection in the browser alert.
Generate a User Token REST API Key
Requirements
- In the web app, navigate to User Icon > My Profile > User Settings.
- Under API Access, click Create API User Token.
- Enter a Description to help you identify the key later.
- Click Create Key.
API Key Storage
- Click Close.
The key will appear in the API Access table with the following information: creation date, last used date, and API version.
Delete a User Token REST API Key
Irreversible Action
Required User Permissions
- In the web app, navigate to User Icon > My Profile > User Settings.
- Under API Access, click Remove next to the key you want to delete.
- Confirm your selection in the browser alert.
API Scopes
In addition to General Access REST API Keys and User Token REST API Keys, you can generate scoped tokens, which offer more granular control over the objects that users and apps can access. Read Register an App in the developer docs for more information.
Rate Limits
To ensure fair access to REST API resources, PagerDuty enforces rate limits. Read REST API Rate Limits for more information.
Events API Keys
Requirements
Events API keys are 32-character strings associated with service-level integrations, listed on a service's Integrations tab. Read Services and Integrations for more information on configuring integration keys for the Events API.
Event Orchestration, which centralizes event processing, also uses integration keys for the Events API.