PagerDuty Users API

Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.

GitHub OpenAPI

Operations 35

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /users List users in the account · PagerDuty List users #
Ask an LLM
“Which users are in my PagerDuty account?”
“Can I list only the users on a particular team?”
Tell an agent
List all users in the account.
Find users matching {query}.
POST /users Create a user · PagerDuty Create a user #
Ask an LLM
“How do I add a new person to my account?”
“Can I create a user with a license and contact methods in one request?”
Tell an agent
Create user {user}.
Add a new user to the account with {user}.
GET /users/{id} Get a user's details · PagerDuty Get a user #
Ask an LLM
“What are the details of a specific user?”
“Can I look up a user by their ID?”
Tell an agent
Get user {id}.
Show the profile of user {id}.
DELETE /users/{id} Remove a user · PagerDuty Delete a user #
Ask an LLM
“How do I remove someone from my account?”
“What happens if I delete a user who still has incidents assigned?”
Tell an agent destructive · confirm first
Delete user {id}.
Remove user {id} from the account.
PUT /users/{id} Update a user · PagerDuty Update a user #
Ask an LLM
“How do I change a user's name or email?”
“Can I update a user's details after they are created?”
Tell an agent
Update user {id} with {user}.
Change the details of user {id} to {user}.
GET /users/{id}/audit/records List audit records for a user · PagerDuty List audit records for a user #
Ask an LLM
“Who changed a user's details and when?”
“Can I see the audit trail for one user?”
Tell an agent
List audit records for user {id}.
Show changes made to user {id} since {since}.
GET /users/{id}/contact_methods List a user's contact methods · PagerDuty List a user's contact methods #
Ask an LLM
“What phone number and email are on file for a user?”
“Can I see all contact methods for one person?”
Tell an agent
List contact methods for user {id}.
Show how user {id} can be reached.
POST /users/{id}/contact_methods Add a contact method to a user · PagerDuty Create a user contact method #
Ask an LLM
“How do I add a phone number so a user can be notified?”
“Can I add an email contact method to a person?”
Tell an agent
Add contact method {contact_method} to user {id}.
Create a new way to reach user {id}.
GET /users/{id}/contact_methods/{contact_method_id} Get a user's contact method · PagerDuty Get a user's contact method #
Ask an LLM
“What are the details of one contact method on a user?”
“Can I look up a single contact method by its ID?”
Tell an agent
Get contact method {contact_method_id} of user {id}.
Show how user {id} is contacted by {contact_method_id}.
DELETE /users/{id}/contact_methods/{contact_method_id} Remove a user's contact method · PagerDuty Delete a user's contact method #
Ask an LLM
“How do I stop notifying a user by a certain phone number?”
“Can I delete a contact method from a person?”
Tell an agent destructive · confirm first
Delete contact method {contact_method_id} from user {id}.
Remove the {contact_method_id} contact method of user {id}.
PUT /users/{id}/contact_methods/{contact_method_id} Update a user's contact method · PagerDuty Update a user's contact method #
Ask an LLM
“How do I change a user's phone number?”
“Can I edit an existing contact method?”
Tell an agent
Update contact method {contact_method_id} of user {id} to {contact_method}.
Change how user {id} is reached by {contact_method_id}.
GET /users/{id}/license Get a user's license · PagerDuty Get the License allocated to a User #
Ask an LLM
“Which license is assigned to a user?”
“Can I check a person's license type?”
Tell an agent
Get the license assigned to user {id}.
Show which license user {id} holds.
GET /users/{id}/notification_rules List a user's notification rules · PagerDuty List a user's notification rules #
Ask an LLM
“What notification rules apply to a user?”
“Can I see a user's notification rules for a specific urgency?”
Tell an agent
List notification rules for user {id}.
Show user {id}'s notification rules for urgency {urgency}.
POST /users/{id}/notification_rules Create a notification rule for a user · PagerDuty Create a user notification rule #
Ask an LLM
“How do I make a user get notified for high-urgency incidents?”
“Can I add a new notification rule to a person?”
Tell an agent
Create notification rule {notification_rule} for user {id}.
Add a new notification rule to user {id}.
GET /users/{id}/notification_rules/{notification_rule_id} Get a user's notification rule · PagerDuty Get a user's notification rule #
Ask an LLM
“What are the details of one notification rule on a user?”
“Can I look up a single notification rule by its ID?”
Tell an agent
Get notification rule {notification_rule_id} of user {id}.
Show how user {id} is notified by notification rule {notification_rule_id}.
DELETE /users/{id}/notification_rules/{notification_rule_id} Remove a user's notification rule · PagerDuty Delete a user's notification rule #
Ask an LLM
“How do I stop a user from being notified by a rule?”
“Can I delete a notification rule from a person?”
Tell an agent destructive · confirm first
Delete notification rule {notification_rule_id} from user {id}.
Remove the {notification_rule_id} notification rule of user {id}.
PUT /users/{id}/notification_rules/{notification_rule_id} Update a user's notification rule · PagerDuty Update a user's notification rule #
Ask an LLM
“How do I change an existing notification rule?”
“Can I edit a user's notification rule?”
Tell an agent
Update notification rule {notification_rule_id} of user {id} to {notification_rule}.
Change how user {id} is notified by {notification_rule_id}.
GET /users/{id}/notification_subscriptions List a user's notification subscriptions · PagerDuty List Notification Subscriptions #
Ask an LLM
“Which notifications is a user subscribed to?”
“Can I see a person's notification subscriptions?”
Tell an agent
List notification subscriptions for user {id}.
Show what user {id} is subscribed to.
POST /users/{id}/notification_subscriptions Subscribe a user to notifications · PagerDuty Create Notification Subcriptions #
Ask an LLM
“How do I subscribe a user to notifications on a service?”
“Can I add several notification subscriptions to one person at once?”
Tell an agent
Subscribe user {id} to {subscribables}.
Add notification subscriptions {subscribables} for user {id}.
POST /users/{id}/notification_subscriptions/unsubscribe Unsubscribe a user from notifications · PagerDuty Remove Notification Subscriptions #
Ask an LLM
“How do I stop a user from getting notifications on a service?”
“Can I unsubscribe a person from several notifications at once?”
Tell an agent destructive · confirm first
Unsubscribe user {id} from {subscribables}.
Remove user {id}'s notification subscriptions {subscribables}.
GET /users/{id}/oncall_handoff_notification_rules List a user's on-call handoff notification rules · PagerDuty List a User's Handoff Notification Rules #
Ask an LLM
“Which users are notified when an on-call shift hands off?”
“What handoff notification rules exist for a user?”
Tell an agent
List handoff notification rules for user {id}.
Show who gets notified when a shift hands off for {id}.
POST /users/{id}/oncall_handoff_notification_rules Create a user on-call handoff notification rule · PagerDuty Create a User Handoff Notification Rule #
Ask an LLM
“How do I notify a user when an on-call shift hands off?”
“Can I set up a handoff notification rule for a user?”
Tell an agent
Create handoff notification rule {rule} for user {id}.
Notify {id} when an on-call shift hands off.
GET /users/{id}/oncall_handoff_notification_rules/{oncall_handoff_notification_rule_id} Get one user on-call handoff notification rule · PagerDuty Get a user's handoff notification rule #
Ask an LLM
“What does a specific handoff notification rule for a user look like?”
“Can I read one on-call handoff rule for a user?”
Tell an agent
Get handoff notification rule {rule_id} for user {id}.
Show the on-call handoff rule {rule_id} of {id}.
DELETE /users/{id}/oncall_handoff_notification_rules/{oncall_handoff_notification_rule_id} Delete a user on-call handoff notification rule · PagerDuty Delete a User's Handoff Notification rule #
Ask an LLM
“How do I stop notifying a user when an on-call shift hands off?”
“Can I remove a handoff notification rule?”
Tell an agent destructive · confirm first
Delete handoff notification rule {rule_id} for user {id}.
Stop notifying {id} on handoff by removing rule {rule_id}.
PUT /users/{id}/oncall_handoff_notification_rules/{oncall_handoff_notification_rule_id} Update a user on-call handoff notification rule · PagerDuty Update a User's Handoff Notification Rule #
Ask an LLM
“How do I change who gets notified when an on-call shift hands off?”
“Can I edit an existing handoff notification rule?”
Tell an agent
Update handoff notification rule {rule_id} for user {id} with {rule}.
Change who is notified on handoff for {id} to {rule}.
GET /users/{id}/sessions List a user's active sessions · PagerDuty List a user's active sessions #
Ask an LLM
“Which sessions are still active for a user?”
“Can I see a user's active sessions?”
Tell an agent
List active sessions for user {id}.
Show who is still logged in as {id}.
DELETE /users/{id}/sessions End all sessions for a user · PagerDuty Delete all user sessions #
Ask an LLM
“How do I log a user out everywhere at once?”
“Can I invalidate every session a user has?”
Tell an agent destructive · confirm first
Delete all sessions for user {id}.
Log {id} out of every session.
GET /users/{id}/sessions/{type}/{session_id} Get a user's session · PagerDuty Get a user's session #
Ask an LLM
“What are the details of one of a user's sessions?”
“Can I look up a single session by its type and ID?”
Tell an agent
Get {type} session {session_id} for user {id}.
Show session {session_id} of type {type} for {id}.
DELETE /users/{id}/sessions/{type}/{session_id} End one user session · PagerDuty Delete a user's session #
Ask an LLM
“How do I log a user out of one session?”
“Can I kill a single session by its type and ID?”
Tell an agent destructive · confirm first
Delete {type} session {session_id} for user {id}.
Log {id} out of session {session_id} of type {type}.
GET /users/{id}/status_update_notification_rules List a user's status update notification rules · PagerDuty List a user's status update notification rules #
Ask an LLM
“Which users get notified when an incident status changes?”
“What status update notification rules exist for a user?”
Tell an agent
List status update notification rules for user {id}.
Show who gets notified on incident status updates for {id}.
POST /users/{id}/status_update_notification_rules Create a user status update notification rule · PagerDuty Create a user status update notification rule #
Ask an LLM
“How do I notify a user when an incident status changes?”
“Can I set up a status update notification rule for a user?”
Tell an agent
Create status update notification rule {rule} for user {id}.
Notify {id} when an incident status changes.
GET /users/{id}/status_update_notification_rules/{status_update_notification_rule_id} Get one user status update notification rule · PagerDuty Get a user's status update notification rule #
Ask an LLM
“What does a specific status update notification rule for a user look like?”
“Can I read one incident status update rule for a user?”
Tell an agent
Get status update notification rule {rule_id} for user {id}.
Show the incident status update rule {rule_id} of {id}.
DELETE /users/{id}/status_update_notification_rules/{status_update_notification_rule_id} Delete a user status update notification rule · PagerDuty Delete a user's status update notification rule #
Ask an LLM
“How do I stop notifying a user when an incident status changes?”
“Can I remove a status update notification rule?”
Tell an agent destructive · confirm first
Delete status update notification rule {rule_id} for user {id}.
Stop notifying {id} on status updates by removing rule {rule_id}.
PUT /users/{id}/status_update_notification_rules/{status_update_notification_rule_id} Update a user status update notification rule · PagerDuty Update a user's status update notification rule #
Ask an LLM
“How do I change who gets notified when an incident status changes?”
“Can I edit an existing status update notification rule?”
Tell an agent
Update status update notification rule {rule_id} for user {id} with {rule}.
Change who is notified on status updates for {id} to {rule}.
GET /users/me Get the current user · PagerDuty Get the current user #
Ask an LLM
“How do I find out which user my API key belongs to?”
“Can I look up the user behind the current token?”
Tell an agent
Get the current user.
Show who my API key is authenticated as.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pagerduty:pagerduty-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pagerduty-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'This document describes the PagerDuty REST APIs.


    For guides and examples please visit our Documentation.


    Our REST APIs are defined in OpenAPI v3.x. You can view the schema at github.com/PagerDuty/api-schema.


    Note that properties in some schemas have fields not shown by default such as `readOnly`, `format`, and `default`. Hover your cursor over the right column that looks like `optional+1` to see the full list of fields.'
  contact:
    name: PagerDuty Support
    url: http://www.pagerduty.com/support
    email: support@pagerduty.com
  title: PagerDuty Users API
  version: 2.0.0
servers:
- url: https://api.pagerduty.com
  description: PagerDuty V2 API.
security:
- api_key: []
tags:


# --- truncated at 32 KB (130 KB total) ---
# Full source: https://artifacts.apis.io/pagerduty/openapi/pagerduty-users-api-openapi.yml