Create extension
documentedCreate a new extension (e.g., webhook subscription).
POST /extensionsWebhooks & Extensionsno implementation yet0 runsNo 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://api.pagerduty.com/extensions" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/vnd.pagerduty+json;version=2" \
-H "Content-Type: application/json" \
-d '{"extension": {"name": "{{$name}}", "endpoint_url": "{{$endpoint_url}}", "extension_schema": "{{$extension_schema}}", "extension_objects": ["{{$service_id}}"], "config": "{{$config}}", "type": "{{$type}}"}}'