younifyd
Menu

Create Incident Note

Create a note on an incident

POST/incidents/{id}/notes

Use it in a workflow

  1. Add a step and choose the PagerDuty connector.
  2. Pick the Create Incident Note action (under Incidents).
  3. Fill in the fields below, then reference the result from later steps as {{createIncidentNote.response.data}}.

Request

Path parameters

idstringrequired

The ID of the resource.

Headers

Acceptstringrequired

The `Accept` header is used as a versioning header.

Default "application/vnd.pagerduty+json;version=2"

Content-Typestringrequired

One ofapplication/jsonDefault "application/json"

Fromstring (email)required

The email address of a valid user associated with the account making the request.

Request body

Enter the body as JSON in the step's Body field.

noteobjectrequired
contentstringrequired

The note content

json
{
  "note": {
    "content": "string"
  }
}

Response

Returns 200 with an object. Read it in later steps with {{createIncidentNote.response.data.<field>}}.

noteobject
idstring
userany
channelobject5 fields

The means by which this Note was created. Has different formats depending on type.

contentstringrequired

The note content

created_atstring (date-time)

The time at which the note was submitted

updated_atstring (date-time)

The time at which the note was last updated

json
{
  "note": {
    "content": "Firefighters are on the scene."
  }
}

Need more? See the PagerDuty guide for connection setup and behaviour shared by every action.