Add an escalation policy to a team.
Accept header needed for Oauth2
Type: string
The escalation policy ID on the team.
Type: string
The team ID.
Type: string
Subscribe the given entities to Incident Status Update Notifications.
Accept header needed for Oauth2
Type: string
Type: string
The incident ID.
Type: string
Type: object
{
"subscribers" : [ {
"subscriber_id" : "The ID of the entity being subscribed",
"subscriber_type" : "The type of the entity being subscribed"
} ]
}
Add a user to a team. Attempting to add a user with the read_only_user
role will return a 400 error.
Accept header needed for Oauth2
Type: string
The team ID.
Type: string
The user ID on the team.
Type: string
Install an add-on for your account.
Accept header needed for Oauth2
Type: string
The add-on to be installed.
Type: object
{
"addon" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Create a new contact method.
Accept header needed for Oauth2
Type: string
The user ID.
Type: string
The contact method to be created.
Type: object
{
"contact_method" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Creates a new escalation policy. There must be at least one existing escalation rule added to create a new escalation policy.
Accept header needed for Oauth2
Type: string
The escalation policy to be created.
Type: object
{
"escalation_policy" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
The email address of a valid user associated with the account making the request. This is optional, and is only used for change tracking.
Type: email
Create a new extension.
Accept header needed for Oauth2
Type: string
The extension to be created
Type: object
{
"extension" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Create an incident synchronously without a corresponding event from a monitoring service.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
Type: object
{
"incident" : {
"conference_bridge" : {
"conference_url" : "A URL for the conference bridge.",
"conference_number" : "The phone number of the conference call for the conference bridge."
},
"assignments" : [ {
"assignee" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
} ],
"urgency" : "The urgency of the incident",
"service" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
},
"incident_key" : "A string which identifies the incident. Sending subsequent requests referencing the same service and with the same incident_key will result in those requests being rejected if an open incident matches that incident_key.",
"type" : "Required string. Possible values: incident",
"title" : "A succinct description of the nature, symptoms, cause, or effect of the incident.",
"priority" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
},
"body" : {
"details" : "Additional incident details.",
"type" : "Required string. Possible values: incident_body"
},
"escalation_policy" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
}
Create a new integration belonging to a service.
Accept header needed for Oauth2
Type: string
The service ID.
Type: string
The integration to be created
Type: object
{
"integration" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Create a new maintenance window for the specified services. No new incidents will be created for a service that is in maintenance.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The maintenance window object.
Type: object
{
"maintenance_window" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Create a new note for the specified incident.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The incident ID.
Type: string
Type: object
{
"note" : {
"created_at" : "The time at which the note was submitted",
"id" : "string",
"user" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
},
"content" : "The note content"
}
}
Create a new notification rule.
Accept header needed for Oauth2
Type: string
The user ID.
Type: string
The notification rule to be created.
Type: object
{
"notification_rule" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Create an override for a specific user covering the specified time range. If you create an override on top of an existing one, the last created override will have priority.
Accept header needed for Oauth2
Type: string
The schedule ID.
Type: string
The override to be created
Type: object
{
"override" : {
"start" : "The start date and time for the override.",
"end" : "The end date and time for the override.",
"id" : "string",
"user" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
}
Create a new on-call schedule.
Accept header needed for Oauth2
Type: string
The schedule to be created.
Type: object
{
"schedule" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter overflow=true
is passed. This parameter defaults to false.
For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from 2011-06-01T10:00:00Z
to 2011-06-01T14:00:00Z
:
overflow=true
parameter, you will get one schedule entry returned with a start of 2011-06-01T10:00:00Z
and end of 2011-06-01T14:00:00Z
.overflow=true
parameter, you will get one schedule entry returned with a start of 2011-06-01T00:00:00Z
and end of 2011-06-02T00:00:00Z
.Type: boolean
Create a new service.
Accept header needed for Oauth2
Type: string
The service to be created
Type: object
{
"service" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Create a new status update for the specified incident.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The incident ID.
Type: string
Type: object
{
"message" : "The message to be posted as a status update."
}
Create a new team.
Accept header needed for Oauth2
Type: string
The team to be created.
Type: object
{
"team" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Create a new user. Note that you must also supply a password
property to create a user--it will not be returned by any API.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The user to be created.
Type: object
{
"user" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Remove an existing add-on.
Accept header needed for Oauth2
Type: string
The add-on ID.
Type: string
Remove a user's contact method.
Accept header needed for Oauth2
Type: string
The contact method ID on the user.
Type: string
The user ID.
Type: string
Deletes an existing escalation policy and rules. The escalation policy must not be in use by any services.
Accept header needed for Oauth2
Type: string
The escalation ID.
Type: string
Remove an escalation policy from a team.
Accept header needed for Oauth2
Type: string
The escalation policy ID on the team.
Type: string
The team ID.
Type: string
Delete an existing extension. Once the extension is deleted, it will not be accessible from the web UI and new incidents won't be able to be created for this extension.
Accept header needed for Oauth2
Type: string
The extension ID.
Type: string
Delete an existing maintenance window if it's in the future, or end it if it's currently on-going. If the maintenance window has already ended it cannot be deleted.
Accept header needed for Oauth2
Type: string
The maintenance window ID.
Type: string
Remove a user's notification rule.
Accept header needed for Oauth2
Type: string
The notification rule ID on the user.
Type: string
The user ID.
Type: string
Delete an on-call schedule.
Accept header needed for Oauth2
Type: string
The schedule ID.
Type: string
Remove an override. You cannot remove a past override. If the override start time is before the current time, but the end time is after the current time, the override will be truncated to the current time. If the override is truncated, the status code will be 200 OK, as opposed to a 204 No Content for a successful delete.
Accept header needed for Oauth2
Type: string
The override ID on the schedule.
Type: string
The schedule ID.
Type: string
Delete an existing service. Once the service is deleted, it will not be accessible from the web UI and new incidents won't be able to be created for this service.
Accept header needed for Oauth2
Type: string
The service ID.
Type: string
Remove an existing team.
Accept header needed for Oauth2
Type: string
The team ID.
Type: string
Remove an existing user.
Accept header needed for Oauth2
Type: string
The user ID.
Type: string
Remove a user from a team.
Accept header needed for Oauth2
Type: string
The team ID.
Type: string
The user ID on the team.
Type: string
Test whether your account has a given ability.
Accept header needed for Oauth2
Type: string
The ability ID.
Type: string
Get details about an existing add-on.
Accept header needed for Oauth2
Type: string
The add-on ID.
Type: string
Show detailed information about an alert. Accepts an alert id.
Accept header needed for Oauth2
Type: string
The id of the alert to retrieve.
Type: string
The incident ID.
Type: string
This operation has no parameters
Get all immediate dependencies of any business service.
Business services model capabilities that span multiple technical services and that may be owned by several different teams.
For more information see the API Concepts Document
Accept header needed for Oauth2
Type: string
The service ID.
Type: string
Get details about a user's contact method.
Accept header needed for Oauth2
Type: string
The contact method ID on the user.
Type: string
The user ID.
Type: string
Get the current user.
Get information about an existing escalation policy and its rules.
Accept header needed for Oauth2
Type: string
The escalation ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Get details about an existing extension.
Accept header needed for Oauth2
Type: string
The extension ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Get details about one specific extension vendor.
Accept header needed for Oauth2
Type: string
The extension schema ID.
Type: string
Show detailed information about an incident. Accepts either an incident id, or an incident number.
Accept header needed for Oauth2
Type: string
The incident ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Get details about an integration belonging to a service.
Accept header needed for Oauth2
Type: string
The integration ID on the service.
Type: string
The service ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Get details for a specific incident log entry. This method provides additional information you can use to get at raw event data.
Accept header needed for Oauth2
Type: string
The log entry ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Time zone in which dates in the result will be rendered.
Type: tzinfo
Get an existing maintenance window.
Accept header needed for Oauth2
Type: string
The maintenance window ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Get details about a user's notification rule.
Accept header needed for Oauth2
Type: string
The notification rule ID on the user.
Type: string
The user ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Show detailed information about a schedule, including entries for each layer and sub-schedule.
Accept header needed for Oauth2
Type: string
The schedule ID.
Type: string
The start of the date range over which you want to search.
Type: date-time
Time zone in which dates in the result will be rendered.
Type: tzinfo
The end of the date range over which you want to search.
Type: date-time
Get details about an existing service.
Accept header needed for Oauth2
Type: string
The service ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Get details about an existing team.
Accept header needed for Oauth2
Type: string
The team ID.
Type: string
Get all immediate dependencies of any technical service.
Technical services are also known as services
.
For more information see the API Concepts Document
Accept header needed for Oauth2
Type: string
The service ID.
Type: string
Get details about an existing user.
Accept header needed for Oauth2
Type: string
The user ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Get details about one specific vendor.
Accept header needed for Oauth2
Type: string
The vendor ID.
Type: string
This operation has no parameters
List all of the add-ons installed on your account.
Accept header needed for Oauth2
Type: string
Filters the results, showing only add-ons of the given type
Type: string
Potential values: full_page_addon, incident_show_addon
Array of additional details to include.
Type: array
[ "string" ]
Filters the results, showing only add-ons for the given services
Type: array
[ "string" ]
List alerts for the specified incident.
Accept header needed for Oauth2
Type: string
The incident ID.
Type: string
Alert de-duplication key.
Type: string
Array of additional details to include.
Type: array
[ "string. Possible values: services | first_trigger_log_entries | incidents" ]
Used to specify both the field you wish to sort the results on (created_at/resolved_at), as well as the direction (asc/desc) of the results. The sort_by field and direction should be separated by a colon. A maximum of two fields can be included, separated by a comma. Sort direction defaults to ascending.
Type: array
[ "string. Possible values: created_at | resolved_at | created_at:asc | created_at:desc | resolved_at:asc | resolved_at:desc" ]
Return only alerts with the given statuses. (More status codes may be introduced in the future.)
Type: array
[ "string" ]
List business services subscribers
Accept header needed for Oauth2
Type: string
Type: string
The service ID.
Type: string
List existing business services.
Business services model capabilities that span multiple technical services and that may be owned by several different teams.
For more information see the API Concepts Document
List contact methods of your PagerDuty user.
Accept header needed for Oauth2
Type: string
The user ID.
Type: string
List all of the existing escalation policies.
Accept header needed for Oauth2
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Filters the results, showing only the escalation policies whose names contain the query.
Type: string
Used to specify the field you wish to sort the results on.
Type: string
Potential values: name, name:asc, name:desc
An array of team IDs. Only results related to these teams will be returned. Account must have the teams
ability to use this parameter.
Type: array
[ "string" ]
Filters the results, showing only escalation policies on which any of the users is a target.
Type: array
[ "string" ]
List all extension schemas.
List existing extensions.
Accept header needed for Oauth2
Type: string
The id of the extension object you want to filter by.
Type: string
Filter the extensions by extension vendor id.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Filters the result, showing only the extensions whose name matches the query.
Type: string
List existing incidents.
Accept header needed for Oauth2
Type: string
When set to all, the since and until parameters and defaults are ignored.
Type: string
Potential values: all
Incident de-duplication key. Incidents with child alerts do not have an incident key; querying by incident key will return incidents whose alerts have alert_key matching the given incident key.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Returns only the incidents associated with the passed service(s). This expects one or more service IDs.
Type: array
[ "string" ]
The start of the date range over which you want to search.
Type: date-time
Used to specify both the field you wish to sort the results on (incident_number/created_at/resolved_at/urgency), as well as the direction (asc/desc) of the results. The sort_by field and direction should be separated by a colon. A maximum of two fields can be included, separated by a comma. Sort direction defaults to ascending. The account must have the urgencies
ability to sort by the urgency.
Type: array
[ "string" ]
Return only incidents with the given statuses. (More status codes may be introduced in the future.)
Type: array
[ "string" ]
An array of team IDs. Only results related to these teams will be returned. Account must have the teams
ability to use this parameter.
Type: array
[ "string" ]
Time zone in which dates in the result will be rendered.
Type: tzinfo
The end of the date range over which you want to search.
Type: date-time
Array of the urgencies of the incidents to be returned. Defaults to all urgencies. Account must have the urgencies
ability to do this.
Type: array
[ "string" ]
Returns only the incidents currently assigned to the passed user(s). This expects one or more user IDs. Note: When using the assigned_to_user filter, you will only receive incidents with statuses of triggered or acknowledged. This is because resolved incidents are not assigned to any user.
Type: array
[ "string" ]
List all of the incident log entries across the entire account.
Accept header needed for Oauth2
Type: string
Array of additional details to include.
Type: array
[ "string" ]
If true
, will return a subset of log entries that show only the most important changes to the incident.
Type: boolean
The start of the date range over which you want to search.
Type: date-time
Time zone in which dates in the result will be rendered.
Type: tzinfo
The end of the date range over which you want to search.
Type: date-time
List log entries for the specified incident.
Accept header needed for Oauth2
Type: string
The incident ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
If true
, will return a subset of log entries that show only the most important changes to the incident.
Type: boolean
Time zone in which dates in the result will be rendered.
Type: tzinfo
List existing maintenance windows, optionally filtered by service and/or team, or whether they are from the past, present or future.
Accept header needed for Oauth2
Type: string
Only return maintenance windows in a given state.
Type: string
Potential values: past, future, ongoing, open, all
Array of additional details to include.
Type: array
[ "string" ]
Filters the results, showing only the maintenance windows whose descriptions contain the query.
Type: string
An array of service IDs. Only results related to these services will be returned.
Type: array
[ "string" ]
An array of team IDs. Only results related to these teams will be returned. Account must have the teams
ability to use this parameter.
Type: array
[ "string" ]
List existing notes for the specified incident.
Accept header needed for Oauth2
Type: string
The incident ID.
Type: string
List notification rules of your PagerDuty user.
Accept header needed for Oauth2
Type: string
The user ID.
Type: string
Array of additional details to include.
Type: array
[ "string" ]
List notifications for a given time range, optionally filtered by type (sms_notification, email_notification, phone_notification, or push_notification).
Accept header needed for Oauth2
Type: string
The start of the date range over which you want to search. The time element is optional.
Type: date-time
The end of the date range over which you want to search. This should be in the same format as since. The size of the date range must be less than 3 months.
Type: date-time
Return notification of this type only.
Type: string
Potential values: sms_notification, email_notification, phone_notification, push_notification
Array of additional details to include.
Type: array
[ "string" ]
Time zone in which dates in the result will be rendered.
Type: tzinfo
List the on-call entries during a given time range.
Accept header needed for Oauth2
Type: string
This will filter on-calls such that only the earliest on-call for each combination of escalation policy, escalation level, and user is returned. This is useful for determining when the "next" on-calls are for a given set of filters.
Type: boolean
Filters the results, showing only on-calls for the specified escalation policy IDs.
Type: array
[ "string" ]
Array of additional details to include.
Type: array
[ "string" ]
Filters the results, showing only on-calls for the specified schedule IDs. If null
is provided in the array, it includes permanent on-calls due to direct user escalation targets.
Type: array
[ "string" ]
The start of the time range over which you want to search. If an on-call period overlaps with the range, it will be included in the result. Defaults to current time. The search range cannot exceed 3 months.
Type: date-time
Time zone in which dates in the result will be rendered.
Type: tzinfo
The end of the time range over which you want to search. If an on-call period overlaps with the range, it will be included in the result. Defaults to current time. The search range cannot exceed 3 months, and the until
time cannot be before the since
time.
Type: date-time
Filters the results, showing only on-calls for the specified user IDs.
Type: array
[ "string" ]
List overrides for a given time range.
Accept header needed for Oauth2
Type: string
The schedule ID.
Type: string
The start of the date range over which you want to search.
Type: date-time
The end of the date range over which you want to search.
Type: date-time
When this parameter is present, only editable overrides will be returned. The result will only include the id of the override if this parameter is present. Only future overrides are editable.
Type: boolean
Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter overflow=true is passed. This parameter defaults to false.
Type: boolean
List existing priorities, in order (most to least severe).
List all of the existing Response Plays.
Response Plays allow you to create packages of Incident Actions that can be applied during an Incident's life cycle.
For more information see the API Concepts Document
Accept header needed for Oauth2
Type: string
When this parameter is present, only those Response Plays that can be run manually will be returned.
Type: boolean
Filters the result, showing only the tags whose labels match the query.
Type: string
List the on-call schedules.
Accept header needed for Oauth2
Type: string
Filters the result, showing only the schedules whose name matches the query.
Type: string
List existing services.
Accept header needed for Oauth2
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Filters the result, showing only the services whose name or service_key matches the query.
Type: string
Used to specify the field you wish to sort the results on.
Type: string
Potential values: name, name:asc, name:desc
An array of team IDs. Only results related to these teams will be returned. Account must have the teams
ability to use this parameter.
Type: array
[ "string" ]
Time zone in which dates in the result will be rendered.
Type: tzinfo
List teams of your PagerDuty account, optionally filtered by a search query.
Accept header needed for Oauth2
Type: string
Filters the result, showing only the teams whose names or email addresses match the query.
Type: string
List users of your PagerDuty account, optionally filtered by a search query.
Accept header needed for Oauth2
Type: string
Array of additional details to include.
Type: array
[ "string" ]
Filters the result, showing only the users whose names or email addresses match the query.
Type: string
An array of team IDs. Only results related to these teams will be returned. Account must have the teams
ability to use this parameter.
Type: array
[ "string" ]
List all of the users on call in a given schedule for a given time range.
Accept header needed for Oauth2
Type: string
The schedule ID.
Type: string
The start of the date range over which you want to search.
Type: date-time
The end of the date range over which you want to search.
Type: date-time
List all vendors.
Resolve multiple alerts or associate them with different incidents.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The incident ID.
Type: string
Type: object
{
"alerts" : [ {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
} ]
}
Acknowledge, resolve, escalate or reassign one or more incidents.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
Type: object
{
"incidents" : [ {
"assignments" : [ {
"assignee" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
} ],
"id" : "The id of the incident to update.",
"type" : "The incident type.",
"title" : "A succinct description of the nature, symptoms, cause, or effect of the incident.",
"priority" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
},
"escalation_policy" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
},
"resolution" : "The resolution for this incident if status is set to resolved.",
"escalation_level" : "Escalate the incident to this level in the escalation policy.",
"status" : "The new status of the incident."
} ]
}
Merge a list of source incidents into this incident.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The incident ID.
Type: string
Type: object
{
"source_incidents" : [ {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
} ]
}
Preview what an on-call schedule would look like without saving it.
Accept header needed for Oauth2
Type: string
The schedule to be previewed.
Type: object
{
"schedule" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter overflow=true
is passed. This parameter defaults to false.
For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from 2011-06-01T10:00:00Z
to 2011-06-01T14:00:00Z
:
overflow=true
parameter, you will get one schedule entry returned with a start of 2011-06-01T10:00:00Z
and end of 2011-06-01T14:00:00Z
.overflow=true
parameter, you will get one schedule entry returned with a start of 2011-06-01T00:00:00Z
and end of 2011-06-02T00:00:00Z
.Type: boolean
The start of the date range over which you want to search.
Type: date-time
The end of the date range over which you want to search.
Type: date-time
Run a specified response play on a given incident.
Response Plays are a package of Incident Actions that can be applied during an Incident's life cycle.
For more information see the API Concepts Document
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The response play ID of the response play associated with the request.
Type: string
Type: object
{
"incident" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Send a new responder request for the specified incident.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The incident ID.
Type: string
Type: object
{
"responder_request_targets" : [ {
"summary" : "string",
"id" : "The id of the user or escalation policy",
"type" : "The type of target (either a user or an escalation policy)",
"incident_responders" : [ {
"requester" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference."
},
"state" : "string",
"user" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference."
},
"incident" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference."
},
"requested_at" : "string"
} ]
} ],
"message" : "The message sent with the responder request",
"requester_id" : "The user id of the requester"
}
Snooze an incident.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The incident ID.
Type: string
Type: object
{
"duration" : "The number of seconds to snooze the incident for. After this number of seconds has elapsed, the incident will return to the \"triggered\" state."
}
Update an existing add-on.
Accept header needed for Oauth2
Type: string
The add-on ID.
Type: string
The add-on to be updated.
Type: object
{
"addon" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Resolve an alert or associate an alert with a new parent incident.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The id of the alert to retrieve.
Type: string
The incident ID.
Type: string
The parameters of the alert to update.
Type: object
{
"alert" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Update a user's contact method.
Accept header needed for Oauth2
Type: string
The contact method ID on the user.
Type: string
The user ID.
Type: string
The user's contact method to be updated.
Type: object
{
"contact_method" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Updates an existing escalation policy and rules.
Accept header needed for Oauth2
Type: string
The escalation ID.
Type: string
The escalation policy to be updated.
Type: object
{
"escalation_policy" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Update an existing extension.
Accept header needed for Oauth2
Type: string
The extension ID.
Type: string
The extension to be updated.
Type: object
{
"extension" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Acknowledge, resolve, escalate or reassign an incident.
Accept header needed for Oauth2
Type: string
The email address of a valid user associated with the account making the request.
Type: email
The incident ID.
Type: string
Type: object
{
"incident" : {
"assignments" : [ {
"assignee" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
} ],
"urgency" : "The urgency of the incident.",
"type" : "The incident type.",
"priority" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
},
"title" : "The new title of the incident.",
"escalation_policy" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
},
"resolution" : "The resolution for this incident if status is set to resolved.",
"escalation_level" : "Escalate the incident to this level in the escalation policy.",
"status" : "The new status of the incident."
}
}
Update an integration belonging to a service.
Accept header needed for Oauth2
Type: string
The integration ID on the service.
Type: string
The service ID.
Type: string
The integration to be updated
Type: object
{
"integration" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Update an existing maintenance window.
Accept header needed for Oauth2
Type: string
The maintenance window ID.
Type: string
The maintenance window to be updated.
Type: object
{
"maintenance_window" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Update a user's notification rule.
Accept header needed for Oauth2
Type: string
The notification rule ID on the user.
Type: string
The user ID.
Type: string
The user's notification rule to be updated.
Type: object
{
"notification_rule" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Update an existing on-call schedule.
Accept header needed for Oauth2
Type: string
The schedule ID.
Type: string
The schedule to be updated.
Type: object
{
"schedule" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter overflow=true
is passed. This parameter defaults to false.
For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from 2011-06-01T10:00:00Z
to 2011-06-01T14:00:00Z
:
overflow=true
parameter, you will get one schedule entry returned with a start of 2011-06-01T10:00:00Z
and end of 2011-06-01T14:00:00Z
.overflow=true
parameter, you will get one schedule entry returned with a start of 2011-06-01T00:00:00Z
and end of 2011-06-02T00:00:00Z
.Type: boolean
Update an existing service.
Accept header needed for Oauth2
Type: string
The service ID.
Type: string
The service to be updated.
Type: object
{
"service" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Update an existing team.
Accept header needed for Oauth2
Type: string
The team ID.
Type: string
The team to be updated.
Type: object
{
"team" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}
Update an existing user. Note that you may also supply a password
property--it will not be returned by any API.
Accept header needed for Oauth2
Type: string
The user ID.
Type: string
The user to be updated.
Type: object
{
"user" : {
"summary" : "A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.",
"html_url" : "a URL at which the entity is uniquely displayed in the Web app",
"self" : "the API show URL at which the object is accessible",
"id" : "string",
"type" : "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference."
}
}