cURL
curl --request GET \ --url https://api.example.com/crons/{id}
{ "id": "<string>" }
Retrieve a single cron by ID
curl https://app.cronapi.dev/api/v1/crons/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \ -H "Authorization: Bearer your_api_key_here"
{ "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "user_id": "d4e5f6a7-b890-1234-cdef-567890abcdef", "name": "Health check", "cron": "*/5 * * * *", "url": "https://example.com/health", "method": "GET", "headers": {}, "body": {}, "paused": false, "next_run_at": "2026-04-15T14:35:00.000Z", "last_run_at": "2026-04-15T14:30:00.000Z", "created_at": "2026-04-12T10:30:00.000Z" }
{ "error": "Cron not found" }