# PagerDuty integration

PagerDuty uses REST Token token= authorization, vendor Accept version 2, explicit offset/limit/more paging and a From identity for incident/note actions.

Canonical URL: https://opennodeflow.dev/wiki/integration-pagerduty/
JSON reference: https://opennodeflow.dev/wiki/integration-pagerduty/index.json
Source snapshot: 2026-10-23

PagerDuty contributes **12 operations** in the current source catalog. Its implementation family belongs to the **PagerDuty** pack. Add that pack to the chosen workspace before authoring with its definitions.

## Capabilities and boundaries

PagerDuty uses REST Token token= authorization, vendor Accept version 2, explicit offset/limit/more paging and a From identity for incident/note actions.

This is REST incident/service/user management, not Events API routing-key transport. Notes have documented list/create/update paths; no invented single-note GET is exposed. Acknowledging or resolving an incident changes real on-call state.

## Configure the connection

Authentication uses the provider's `Authorization` header with `Token token=` prefix. Store the value under the secret name `PAGERDUTY_API_TOKEN` or a deliberate override.

The source default base origin is `https://api.pagerduty.com`. Domains under example.com/example.net are placeholders for your own API, not running public services. Use the exact provider API origin and trusted certificate chain. A connection profile can supply credentials and repeated target defaults; profile credentials take precedence over node secret-name overrides. These developer nodes do not obtain tokens or refresh grants.

Required account permissions depend on the operation: REST API token with incident/service/user read permissions; incident write and From user email for incident changes/notes. This is REST management, not the separate Events API routing-key transport.

## First bounded read

Start with **PagerDuty List Incidents**, which is declared as a read. Its synthetic argument fixture is:

```json
{}
```

Replace the synthetic resource identifiers with an explicitly authorized target before any real read. An example is not an installed workflow and contains no credential values.

Set `maxPages:1` initially and inspect the result, `status`, selected direct fields and any `request_id`. Lists return `count`, `has_more` and optional `continuation`; not every provider resource is paginated. Keep the same resource/query scope when resuming. Optional outputs remain absent when the provider does not supply them. Wire only the fields present on the selected branch.

## Available operations

| Operation | Effect | API route |
| --- | --- | --- |
| [PagerDuty List Incidents](/wiki/reference-dev-pagerduty-list-incidents/) | read | `GET /incidents` |
| [PagerDuty Get Incident](/wiki/reference-dev-pagerduty-get-incident/) | read | `GET /incidents/{incidentId}` |
| [PagerDuty Acknowledge Incident](/wiki/reference-dev-pagerduty-acknowledge-incident/) | write | `PUT /incidents/{incidentId}` |
| [PagerDuty Resolve Incident](/wiki/reference-dev-pagerduty-resolve-incident/) | write | `PUT /incidents/{incidentId}` |
| [PagerDuty Create Incident](/wiki/reference-dev-pagerduty-create-incident/) | write | `POST /incidents` |
| [PagerDuty List Incident Notes](/wiki/reference-dev-pagerduty-list-notes/) | read | `GET /incidents/{incidentId}/notes` |
| [PagerDuty Create Incident Note](/wiki/reference-dev-pagerduty-create-note/) | write | `POST /incidents/{incidentId}/notes` |
| [PagerDuty Update Incident Note](/wiki/reference-dev-pagerduty-update-note/) | write | `PUT /incidents/{incidentId}/notes/{id}` |
| [PagerDuty List Services](/wiki/reference-dev-pagerduty-list-services/) | read | `GET /services` |
| [PagerDuty Get Service](/wiki/reference-dev-pagerduty-get-service/) | read | `GET /services/{serviceId}` |
| [PagerDuty List Users](/wiki/reference-dev-pagerduty-list-users/) | read | `GET /users` |
| [PagerDuty Get User](/wiki/reference-dev-pagerduty-get-user/) | read | `GET /users/{userId}` |

Each linked reference contains exact source arguments, named socket contracts, configuration schema, response shape and synthetic data. Source keys must be resolved to the installation's actual definition/version before graph editing.

## Bounds, changes and recovery

The shared developer adapter defaults to a 15-second request timeout, a 1 MiB response bound, one page and 1,000 accumulated items. Configurable maxima are 120 seconds, 3,000,000 response bytes, 20 pages and 5,000 items. Choose smaller limits where appropriate; an excessive response fails rather than becoming a silently complete list.

Read HTTP status and provider-specific success markers. Rejected authentication, permission failures and invalid requests need configuration correction. Rate limiting needs deliberate later scheduling. Same-origin/API-root continuation checks prevent sending credentials to an unrelated next link.

Write/delete operations require `confirmWrites:true` and ONF runtime `$retries:0`. Inspect the target and body before running. A timeout or lost response can follow a successful external action; reconcile the provider resource before repeating. HTTP 202 records acceptance, not completed work.

The reference is source-derived. Synthetic fixtures and isolated worker proof do not establish your account permissions, API availability or live delivery. See [shared setup](/wiki/integration-setup/) and [pack behavior](/wiki/library-packs/).

## Provider contract references

- [Provider reference 1](https://docs.pagerduty.com/developer/api/reference/rest/incidents)
- [Provider reference 2](https://developer.pagerduty.com/api-reference/)

---

## Documentation provenance

- `../OpenNodeFlow-Library/docs/DEVELOPER-PACKS.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/CONTRACT.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/collaboration-research.md`

This page describes maintained source, not a live inventory or an authorization to perform actions.
