Snooze an incident.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the .

Parameters

ParameterDescription
Created byThe email address of a valid user associated with the account making the request.
DurationThe number of seconds to snooze the incident for. After this number of seconds has elapsed, the incident will return to the “triggered” state.
IDThe ID of the resource.

Example Output

{
	"incident": {
		"id": "PT4KHLK",
		"type": "incident",
		"summary": "[#1234] The server is on fire.",
		"self": "https://api.pagerduty.com/incidents/PT4KHLK",
		"html_url": "https://subdomain.pagerduty.com/incidents/PT4KHLK",
		"incident_number": 1234,
		"created_at": "2015-10-06T21:30:42Z",
		"updated_at": "2015-10-06T21:40:23Z",
		"status": "resolved",
		"pending_actions": [
			{
				"type": "unacknowledge",
				"at": "2015-11-10T01:02:52Z"
			},
			{
				"type": "resolve",
				"at": "2015-11-10T04:31:52Z"
			}
		],
		"incident_key": "baf7cf21b1da41b4b0221008339ff357",
		"service": {
			"id": "PIJ90N7",
			"type": "service_reference",
			"summary": "My Mail Service",
			"self": "https://api.pagerduty.com/services/PIJ90N7",
			"html_url": "https://subdomain.pagerduty.com/service-directory/PIJ90N7"
		},
		"assigned_via": "escalation_policy",
		"assignments": [
			{
				"at": "2015-11-10T00:31:52Z",
				"assignee": {
					"id": "PXPGF42",
					"type": "user_reference",
					"summary": "Earline Greenholt",
					"self": "https://api.pagerduty.com/users/PXPGF42",
					"html_url": "https://subdomain.pagerduty.com/users/PXPGF42"
				}
			}
		],
		"acknowledgements": [
			{
				"at": "2015-11-10T00:32:52Z",
				"acknowledger": {
					"id": "PXPGF42",
					"type": "user_reference",
					"summary": "Earline Greenholt",
					"self": "https://api.pagerduty.com/users/PXPGF42",
					"html_url": "https://subdomain.pagerduty.com/users/PXPGF42"
				}
			}
		],
		"resolved_at": "2015-10-06T21:38:23Z",
		"last_status_change_at": "2015-10-06T21:38:23Z",
		"last_status_change_by": {
			"id": "PXPGF42",
			"type": "user_reference",
			"summary": "Earline Greenholt",
			"self": "https://api.pagerduty.com/users/PXPGF42",
			"html_url": "https://subdomain.pagerduty.com/users/PXPGF42"
		},
		"first_trigger_log_entry": {
			"id": "Q02JTSNZWHSEKV",
			"type": "trigger_log_entry_reference",
			"summary": "Triggered through the API",
			"self": "https://api.pagerduty.com/log_entries/Q02JTSNZWHSEKV?incident_id=PT4KHLK",
			"html_url": "https://subdomain.pagerduty.com/incidents/PT4KHLK/log_entries/Q02JTSNZWHSEKV"
		},
		"incident_type": {
			"name": "incident_default"
		},
		"escalation_policy": {
			"id": "PT20YPA",
			"type": "escalation_policy_reference",
			"summary": "Another Escalation Policy",
			"self": "https://api.pagerduty.com/escalation_policies/PT20YPA",
			"html_url": "https://subdomain.pagerduty.com/escalation_policies/PT20YPA"
		},
		"teams": [
			{
				"id": "PQ9K7I8",
				"type": "team_reference",
				"summary": "Engineering",
				"self": "https://api.pagerduty.com/teams/PQ9K7I8",
				"html_url": "https://subdomain.pagerduty.com/teams/PQ9K7I8"
			}
		],
		"urgency": "high"
	}
}

Workflow Library Example

Snooze Incident with Pagerduty and Send Results Via Email

Preview this Workflow on desktop