Create schedule

POST/v1/schedules

Create a one-time or recurring automation schedule.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
None.
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
namestringYesHuman-readable name.
descriptionstringNoHuman-readable description.
agentIdstringYesAgent ID.
agentNamestringYes—
taskstringYes—
contextIdstringNo—
contextNamestringNo—
environmentIdstringNoComputer ID.
environmentNamestringNo—
appIdstringNo—
scheduleTypeone-time | recurringYes—
cronExpressionstringNo—
scheduledTimestringNo—
timezonestringNo—
enabledbooleanNo—
metadataobjectNoFree-form metadata object.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

201Schedule createdapplication/json
FieldTypeRequiredDescription
scheduleobjectNo—
schedule.idstringNoUnique identifier.
schedule.userIdstringNoUser ID.
schedule.organizationIdstringNo—
schedule.createdByUserIdstringNo—
schedule.namestringNoHuman-readable name.
schedule.descriptionstringNoHuman-readable description.
schedule.agentIdstringNoAgent ID.
schedule.agentNamestringNo—
schedule.taskstringNo—
schedule.environmentIdstringNoComputer ID.
schedule.environmentNamestringNo—
schedule.appIdstringNo—
schedule.contextIdstringNo—
schedule.contextNamestringNo—
schedule.scheduleTypeone-time | recurringNo—
schedule.cronExpressionstringNo—
schedule.scheduledTimestringNo—
schedule.timezonestringNo—
schedule.enabledbooleanNo—
schedule.lastRunAtstringNo—
schedule.nextRunAtstringNo—
schedule.runCountintegerNo—
schedule.successCountintegerNo—
schedule.failureCountintegerNo—
schedule.metadataobjectNoFree-form metadata object.
schedule.createdAtstringNoISO 8601 timestamp.
schedule.updatedAtstringNoISO 8601 timestamp.
Create schedule
Loading...
Response 201
Loading...
See the ACP quickstart and SDK flow