Request fields
Recurrence
Setschedule to an interval and the task becomes recurring: each time it fires, Schedy enqueues a fresh one-shot task at fire_time + schedule.
The interval is a Go duration - "30s", "15m", "2h" - and must be positive.
This is interval-only recurrence, deliberately not cron. There is no cron syntax, no timezones, no DST handling, and no catch-up for missed fires - the next fire is always measured forward from the moment the task actually ran. If you need calendar scheduling, run cron on your side and POST one-shot tasks.
Example
X-API-Key header is only required when the server is started with SCHEDY_API_KEY set; otherwise you can omit it.
Send an optional Idempotency-Key header to make retries safe - a repeat with the same key returns the task the first call created instead of scheduling a duplicate.
See Idempotency.
Payloads are flexible - a JSON object (default Content-Type: application/json), form data (application/x-www-form-urlencoded), or plain text; set the Content-Type header to match.