Skip to content
For LLMsView as Markdown·

PagerDuty

Manage incidents, schedules, and on-call rotations with PagerDuty.

DetailValue
CategoryDev Tools
Base URLhttps://api.pagerduty.com
AuthenticationBearer Token
Endpoints6
Connector keypagerduty

Using PagerDuty in a workflow

  1. Go to Connections and click New Connection.
  2. Pick PagerDuty from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /incidentsList incidents
POST /incidentsCreate an incident
GET /incidents/{id}Get an incident
PUT /incidents/{id}Update an incident
GET /servicesList services
GET /oncallsList on-call entries

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /incidents

List incidents

DetailValue
Operation IDdevtools.listIncidents
MethodGET
Path/incidents

Parameters

NameLocationTypeRequired
statuses[]querystringNo
sincequerystringNo
untilquerystringNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your PagerDuty connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.listIncidents.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream PagerDuty API reference.

POST /incidents

Create an incident

DetailValue
Operation IDdevtools.createIncident
MethodPOST
Path/incidents

Parameters

No parameters.

Request Body

FieldType
incidentobject

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your PagerDuty connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.createIncident.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream PagerDuty API reference.

GET /incidents/{id}

Get an incident

DetailValue
Operation IDdevtools.getIncident
MethodGET
Path/incidents/{id}

Parameters

NameLocationTypeRequired
idpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your PagerDuty connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.getIncident.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream PagerDuty API reference.

PUT /incidents/{id}

Update an incident

DetailValue
Operation IDdevtools.updateIncident
MethodPUT
Path/incidents/{id}

Parameters

NameLocationTypeRequired
idpathstringYes

Request Body

FieldType
incidentobject

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your PagerDuty connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.updateIncident.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream PagerDuty API reference.

GET /services

List services

DetailValue
Operation IDdevtools.listServices
MethodGET
Path/services

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your PagerDuty connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.listServices.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream PagerDuty API reference.

GET /oncalls

List on-call entries

DetailValue
Operation IDdevtools.listOnCalls
MethodGET
Path/oncalls

Parameters

NameLocationTypeRequired
schedule_ids[]querystringNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your PagerDuty connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.listOnCalls.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream PagerDuty API reference.