Sign in

Create service

documented

Create a new PagerDuty service.

POST /servicesServicesno 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://api.pagerduty.com/services" \
  -X POST \
  -H "Authorization: Token token={{PAGERDUTY_API_KEY}}" \
  -H "Accept: application/vnd.pagerduty+json;version=2" \
  -H "Content-Type: application/json" \
  -d '{"service": {"name": "{{$service_name}}", "description": "{{$service_description}}", "auto_resolve_timeout": {{$auto_resolve_timeout}}, "acknowledgement_timeout": {{$acknowledgement_timeout}}, "time_zone": "{{$time_zone}}"}}'
Create service · PagerDuty · OpenIntegrations