Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
POST /jobs — Create a cron or one-time scheduled job
POST /jobs
curl -X POST http://localhost:8080/jobs \ -H "X-API-Key: lfy_your_key" \ -H "Content-Type: application/json" \ -d '{ "name":"weekly-digest", "type":"webhook", "schedule_type":"cron", "cron_expression":"0 9 * * 1", "webhook_url":"https://yourapp.com/webhook" }'
name
string
type
webhook
email
schedule_type
cron
one_time
cron_expression
run_at
webhook_url
webhook_payload
object
email_to
email_subject
email_body
curl -X POST http://localhost:8080/jobs \ -H "X-API-Key: lfy_your_key" \ -H "Content-Type: application/json" \ -d '{ "name":"health-check", "type":"webhook", "schedule_type":"cron", "cron_expression":"*/5 * * * *", "webhook_url":"https://yourapp.com/health" }'
curl -X POST http://localhost:8080/jobs \ -H "X-API-Key: lfy_your_key" \ -H "Content-Type: application/json" \ -d '{ "name":"welcome-email", "type":"email", "schedule_type":"one_time", "run_at":"2026-08-01T09:00:00Z", "email_to":"hello@example.com", "email_subject":"Welcome", "email_body":"Thanks for signing up." }'
{ "id": "job_abc123", "name": "weekly-digest", "type": "webhook", "schedule_type": "cron", "cron_expression": "0 9 * * 1", "status": "active", "created_at": "2026-07-22T09:00:00Z" }