cURL
curl --request PATCH \ --url https://api.example.com/jobs/{id}
{ "id": "<string>", "name": "<string>", "at": "<string>", "url": "<string>", "method": "<string>", "headers": {}, "body": {} }
Update a pending job
status: "pending"
GET
POST
DELETE
curl -X PATCH https://app.cronapi.dev/api/v1/jobs/b2c3d4e5-f6a7-8901-bcde-f12345678901 \ -H "Authorization: Bearer your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "at": "2026-04-21T12:00:00.000Z", "body": {"user_id": "usr_456"} }'
{ "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "user_id": "d4e5f6a7-b890-1234-cdef-567890abcdef", "name": "Send welcome email", "at": "2026-04-21T12:00:00.000Z", "url": "https://example.com/send-email", "method": "POST", "headers": {}, "body": {"user_id": "usr_456"}, "status": "pending", "created_at": "2026-04-15T10:00:00.000Z" }
{ "error": "Cannot update a completed or failed job" }