Scheduling
Create and manage scheduled test runs. Automate recurring IVR tests on a cron schedule.
7 endpoints
Create a schedule
/schedulesCreate a schedule. A schedule is a reusable timing definition — scheduleType picks the firing strategy, and each strategy requires a different companion field. Attach it to a target with targetId/targetType, or leave those off to keep it as a reusable template. Currently only test configs and batches are dispatched from a schedule.
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | required | Display name for the schedule |
| scheduleType | string | required | once, recurring, or cron. Decides which companion field below is required |
| cronExpression | string | optional | Cron expression (e.g. "0 9 * * MON-FRI"). REQUIRED when scheduleType is cron |
| intervalMinutes | number | optional | Minutes between runs, minimum 1. REQUIRED when scheduleType is recurring |
| runAt | string | optional | ISO timestamp, must be in the future. REQUIRED when scheduleType is once |
| targetId | string | optional | Test config or batch id this schedule fires. Omit to create a reusable template |
| targetType | string | optional | test, map, or batch. Note: map targets are accepted but not yet dispatched |
| description | string | optional | Free-text description |
| timezone | string | optional | IANA timezone (default: UTC) |
Request
curl -X POST -H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Daily Sales Test","scheduleType":"cron","cronExpression":"0 9 * * MON-FRI","targetId":"cfg_abc123","targetType":"test","timezone":"Europe/London"}' \
https://api.nopaque.co.uk/schedulesResponse
{
"id": "sched_abc123",
"name": "Daily Sales Test",
"scheduleType": "cron",
"cronExpression": "0 9 * * MON-FRI",
"targetId": "cfg_abc123",
"targetType": "test",
"timezone": "Europe/London",
"enabled": "true",
"nextRunAt": "2026-04-11T09: 00: 00Z",
"runCount": 0,
"createdAt": "2026-04-10T12: 00: 00Z"
}List schedules
/schedulesList all schedules in the workspace.
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| limit | number | optional | Maximum items to return (default 50) |
| nextToken | string | optional | Pagination token from previous response |
Request
curl -H "x-api-key: YOUR_API_KEY" \
https://api.nopaque.co.uk/schedulesResponse
{
"schedules": [
{
"id": "sched_abc123",
"name": "Daily Sales Test",
"scheduleType": "cron",
"cronExpression": "0 9 * * MON-FRI",
"enabled": "true",
"nextRunAt": "2026-04-11T09: 00: 00Z",
"runCount": 12
}
],
"count": 1
}Get a schedule
/schedules/{id}Get a specific schedule by ID.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | Schedule ID |
Request
curl -H "x-api-key: YOUR_API_KEY" \
https://api.nopaque.co.uk/schedules/sched_abc123Response
{
"id": "sched_abc123",
"name": "Daily Sales Test",
"scheduleType": "cron",
"cronExpression": "0 9 * * MON-FRI",
"targetId": "cfg_abc123",
"targetType": "test",
"timezone": "Europe/London",
"enabled": "true",
"nextRunAt": "2026-04-11T09: 00: 00Z",
"runCount": 0
}Update a schedule
/schedules/{id}Update a schedule configuration.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | Schedule ID |
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | optional | Updated display name |
| description | string | optional | Updated description |
| scheduleType | string | optional | Change the firing strategy: once, recurring, or cron |
| cronExpression | string | optional | Updated cron expression |
| intervalMinutes | number | optional | Updated interval in minutes, minimum 1 |
| runAt | string | optional | Updated one-off ISO timestamp |
| timezone | string | optional | Updated timezone |
| enabled | boolean | optional | Enable or disable the schedule. Sent as a boolean; returned as the string "true" or "false" |
Request
curl -X PUT -H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cronExpression":"0 8 * * MON-FRI"}' \
https://api.nopaque.co.uk/schedules/sched_abc123Response
{
"id": "sched_abc123",
"cronExpression": "0 8 * * MON-FRI",
"updatedAt": "2026-04-10T12: 10: 00Z"
}Delete a schedule
/schedules/{id}Delete a schedule.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | Schedule ID |
Request
curl -X DELETE -H "x-api-key: YOUR_API_KEY" \
https://api.nopaque.co.uk/schedules/sched_abc123Response
{
"message": "Schedule deleted successfully"
}Pause a schedule
/schedules/{id}/pausePause an active schedule. Scheduled runs will not execute until resumed.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | Schedule ID |
Request
curl -X POST -H "x-api-key: YOUR_API_KEY" \
https://api.nopaque.co.uk/schedules/sched_abc123/pauseResponse
{
"id": "sched_abc123",
"enabled": "false",
"pausedAt": "2026-04-10T12: 15: 00Z"
}Resume a schedule
/schedules/{id}/resumeResume a paused schedule.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | Schedule ID |
Request
curl -X POST -H "x-api-key: YOUR_API_KEY" \
https://api.nopaque.co.uk/schedules/sched_abc123/resumeResponse
{
"id": "sched_abc123",
"enabled": "true",
"resumedAt": "2026-04-10T12: 20: 00Z"
}