Scheduling
Add Schedule (Interval)
Create a new interval-based schedule that executes a webhook or workflow at regular intervals
POST
Create a new interval-based schedule that executes a webhook or workflow at regular intervals (every N seconds, minutes, or hours).
Base URL
All API requests should be made to:Example request
Request body
Example response
Response fields
Interval Period Options
"second": Execute every N seconds (e.g., every 5 seconds)"minute": Execute every N minutes (e.g., every 15 minutes)"hour": Execute every N hours (e.g., every 2 hours)
Initial Context Template
Theinitial_context_template object allows you to pass variables to your webhook or workflow that can be accessed using {{ initial.key }} syntax:
- In request body:
{{ initial.key }}will be replaced with the value - In headers:
{{ initial.key }}can be used in header values - In query params:
{{ initial.key }}can be used in query parameters - In path:
{{ initial.key }}can be used in URL paths
- System secrets:
{{ #secret_key }}for vault secrets - Workflow step responses:
{{ step.response.variable }}in workflows
Use Cases
- Health Checks: Execute every 30 seconds to monitor system health
- Data Sync: Sync data every 5 minutes
- Cache Refresh: Refresh cache every hour
- Periodic Reports: Generate reports every 6 hours
- Status Updates: Update status every 2 minutes
Examples
Every 30 seconds (recurring)
Every 15 minutes (recurring)
Every 2 hours with initial context (recurring)
One-time execution after 5 minutes
Related Documentation
- Scheduling Overview - Learn about all scheduling types
- Add Cron Schedule - Create cron-based schedules
- Get Timezone Options - Get list of available timezones
Authorizations
API key for authentication. Get this from your dashboard by selecting a brand and going to API Keys section.
Brand UUID for authentication. Get this from your dashboard after adding a brand - it will be displayed in the UI.
Body
application/json
Interval schedule configuration
Number of time units between executions (must be > 0)
Required range:
x >= 1Unit of time: 'second', 'minute', or 'hour'
Available options:
second, minute, hour Target type: 'webhook' or 'workflow'
Available options:
webhook, workflow UUID of the webhook or workflow template to schedule
Key-value pairs passed as {{ initial.key }} variables to the webhook/workflow

