List existing notes for the specified incident.

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

For more information see the API Concepts Document.

Parameters

ParameterDescription
IDID of the incident.

Example Output

{
	"notes": [
		{
			"id": "PWL7QXS",
			"user": {
				"id": "PXPGF42",
				"type": "user_reference",
				"summary": "Earline Greenholt",
				"self": "https://api.pagerduty.com/users/PXPGF42",
				"html_url": "https://subdomain.pagerduty.com/users/PXPGF42"
			},
			"channel": {
				"summary": "The PagerDuty website or APIs"
			},
			"content": "Firefighters are on the scene.",
			"created_at": "2013-03-06T15:28:51-05:00"
		},
		{
			"id": "PCQC25",
			"user": {
				"id": "PXPGF42",
				"type": "bot_user_reference",
				"summary": "A Global Event Rule",
				"self": "https://api.pagerduty.com/users/PXPGF42",
				"html_url": "https://subdomain.pagerduty.com/event-rules/global/0e84de00-9511-4380-9f4f-a7b568bb49a0/rules/14e56445-ebab-4dd0-ba9d-fc28a41b7e7b"
			},
			"channel": {
				"id": "14e56445-ebab-4dd0-ba9d-fc28a41b7e7b",
				"type": "event_rule_reference",
				"summary": "A Global Event Rule",
				"self": "https://api.pagerduty.com/rulesets/0e84de00-9511-4380-9f4f-a7b568bb49a0/rules/14e56445-ebab-4dd0-ba9d-fc28a41b7e7b",
				"html_url": "https://subdomain.pagerduty.com/event-rules/global/0e84de00-9511-4380-9f4f-a7b568bb49a0/rules/14e56445-ebab-4dd0-ba9d-fc28a41b7e7b"
			},
			"content": "Initial alert information indicates a 1-alarm fire",
			"created_at": "2013-03-06T15:28:42-05:00"
		}
	]
}

Workflow Library Example

List Incident Notes with Pagerduty and Send Results Via Email

Preview this Workflow on desktop