Sign in

Enqueue alert event

documented

Submit an alert event to PagerDuty.

POST /v2/enqueueEvents APIno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://events.pagerduty.com/v2/enqueue" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{ \
  "routing_key": "{{$routing_key}}", \
  "event_action": "{{$event_action}}", \
  "client": "{{$client}}", \
  "client_url": "{{$client_url}}", \
  "payload": { \
    "summary": "{{$summary}}", \
    "source": "{{$source}}", \
    "severity": "{{$severity}}", \
    "timestamp": "{{$payload_timestamp}}", \
    "custom_details": { \
      "detail1": "{{$custom1}}", \
      "detail2": "{{$custom2}}" \
    } \
  } \
}'"
Enqueue alert event · PagerDuty · OpenIntegrations