POST /schedules/preview
Preview what an on-call schedule would look like without saving it.
A Schedule determines the time periods that users are On-Call.
For more information see the API Concepts Document
Scoped OAuth requires: schedules.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" |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
overflow |
Boolean | No |
Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter
Default value: false |
until |
String | No |
The end of the date range over which you want to search. |
since |
String | No |
The start of the date range over which you want to search. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
schedule |
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.