Skip to main content
Create a new scheduled task that will execute HTTP requests at specified intervals.

Path Parameters

string
required
Your A1Base account ID

Request Body

string
required
A descriptive name for your cron job
string
Detailed description of what this cron job does
string
required
The URL to call when the cron job executes. Must be a valid HTTP/HTTPS URL.
string
required
HTTP method to use: GET, POST, PUT, DELETE
object
HTTP headers to include with each request. Common headers include Authorization, Content-Type, etc.Example:
string
Request body for POST/PUT methods. Must be a string (JSON string if sending JSON).
string
required
Timezone for schedule execution (e.g., “America/New_York”, “UTC”, “Europe/London”)
object
required
Schedule configuration object
object
Retry configuration for failed requests
object
Webhook URLs for execution notifications
array
Array of tags for organization and filtering
boolean
default:"true"
Whether the cron job should start active

Response

Returns the created cron job object with generated ID and calculated next run time.

Common Schedule Examples