Authorizations
API key for authentication. Get your API key from the Cronhost dashboard.
Body
application/json
Human-readable schedule name
Required string length:
1 - 255
Example:
"Daily Health Check"
Valid cron expression defining when to run
Example:
"0 9 * * *"
IANA timezone identifier
Example:
"America/New_York"
Target HTTP endpoint URL
Example:
"https://api.example.com/health"
HTTP method to use for the request
Available options:
GET
, POST
, PUT
, DELETE
, PATCH
Example:
"GET"
Optional description of what the schedule does
Maximum length:
1000
Example:
"Check API health every day at 9 AM"
Request body for POST/PUT/PATCH requests
Example:
"{\"key\": \"value\"}"
HTTP headers as JSON string
Example:
"{\"User-Agent\": \"Cronhost-Monitor\", \"Content-Type\": \"application/json\"}"
Maximum number of retry attempts
Required range:
0 <= x <= 10
Example:
3
Request timeout in seconds
Required range:
1 <= x <= 300
Example:
30