Bulk Create Schedules
Create multiple schedules in a single request. The body is a JSON array of schedule objects (1-1000). Validation is all-or-nothing: if any entry is invalid or the batch exceeds a plan limit, no schedules are created.
Authorizations
API key for authentication. Get your API key from the Cronhost dashboard.
Body
1 - 1000 elementsHuman-readable schedule name
1 - 255"Daily Health Check"
Valid cron expression defining when to run
"0 9 * * *"
IANA timezone identifier
"America/New_York"
Target HTTP endpoint URL
"https://api.example.com/health"
HTTP method to use for the request
GET, POST, PUT, DELETE, PATCH "GET"
Optional description of what the schedule does
1000"Check API health every day at 9 AM"
Request body for POST/PUT/PATCH requests
"{\"key\": \"value\"}"
HTTP headers as JSON string
"{\"User-Agent\": \"Cronhost-Monitor\", \"Content-Type\": \"application/json\"}"
Total attempts including the first. Accepted values are clamped to 1-10 (0 becomes 1); out-of-range values are never rejected. Retries fire only for 5xx, 408, 429, timeouts, and network errors.
3
Request timeout in seconds. Accepted values are clamped to 1-300; out-of-range values are never rejected.
30
Optional. Comma-separated 3-digit status codes and ranges counted as success (e.g. "200-299,410"). Omit or leave blank to use the default rule (status < 400).
"200-299,410"