Register Cron Schedule
This API registers a cron schedule for a workflow.
Request description
Headers
Unique customer identification id. For Eg: markwood@some_email.com
Application slug. For Eg: slack
Workflow ID or the Workflow alias.
Body
The type of schedule trigger you want to set. Options are either cron
or interval
.
Based on the trigger_type provided, Request Body differs.
Event Payload to be sent during workflow execution. Required in both trigger types.
Cron expression. For Eg: */6 * * * *. Required in cron trigger type.
Date currently. for Eg: 2025-01-15. Required in cron trigger type.
Time Zone for the cron job. For Eg: Asia/Kolkata. Required in cron trigger type.
End Date for the cron job. For Eg: 2025-01-19. Required in cron trigger type.
Start date of the cron job. for Eg: 2025-01-16. Required in cron trigger type.
The dates in which schedule needs to be executed.Required in interval trigger type.
Response description
ID of the registered cron
Event ID
ID or Alias of the workflow
Linked Account ID for which cron is registered
Environment in which cron registered
Organization id
Cron Pattern used for schedule register.
The schedule is inactive or not.
Whether the cron is registered using API.
Cron body sent in the request
Array of the interval dates for which the schedule is registered. It is empty if cron trigger_type is used.
Timestamp when schedule was added
Timestamp of schedule updation.