POST /services
Create a new service.
If status
is included in the request, it must have a value of active
when creating a new service. If a different status is required, make a second request to update the service.
A service may represent an application, component, or team you wish to open incidents against.
There is a limit of 25,000 services per account. If the limit is reached, the API will respond with an error. There is also a limit of 100,000 open Incidents per Service. If the limit is reached and auto_resolve_timeout
is disabled (set to 0 or null), the auto_resolve_timeout
property will automatically be set to 84600 (1 day).
For more information see the API Concepts Document
Scoped OAuth requires: services.write
Servers
- https://api.pagerduty.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Accept |
String | Yes |
The Default value: "application/vnd.pagerduty+json;version=2" |
Content-Type |
String | Yes |
Possible values:
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
service |
Yes |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.