Skip to main content
GET
/
crons
/
{id}
Get cron
curl --request GET \
  --url https://api.example.com/crons/{id}
{
  "id": "<string>"
}

Path parameters

id
string
required
The UUID of the cron to retrieve.

Response

Returns the cron object if it exists and belongs to the authenticated user.
curl https://app.cronapi.dev/api/v1/crons/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer your_api_key_here"
200
{
  "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"
}
404
{
  "error": "Cron not found"
}