cURL
curl --request POST \ --url https://api.example.com/schedules \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "cron_expr": "<string>", "endpoint": "<string>", "method": "POST", "description": "<string>", "payload": {}, "timezone": "UTC", "timeout_seconds": 3600, "max_retries": 0, "retry_delay_seconds": 60 } '
{ "id": "<string>", "name": "<string>", "method": "<string>", "endpoint": "<string>", "cron_expr": "<string>", "timezone": "<string>", "timeout_seconds": 123, "max_retries": 123, "retry_delay_seconds": 123, "enabled": true, "description": "<string>", "payload": {}, "next_run_at": 123, "created_at": 123, "updated_at": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
255
128
512
10
1024
64
1 <= x <= 86400
0 <= x <= 10
1 <= x <= 3600
Successful Response
Was this page helpful?