List All Cron Jobs

Returns

Returns a list of your cron jobs and size of the list.

GET/cron
curl -X GET https://api.next-cron.com/cron \
   -H "Authorization: Bearer $YOUR_API_KEY"
Response
{
  "size": 1,
  "cronJobs": [
    {
      "id": "49d10214-f4f1-497a-94b7-c0e597ad3fea",
      "expression": "0 0 * * *",
      "name": "My Cron Job",
      "invocations": 1249,
      "timezone": "Europe/London",
      "status": "Active",
      "endpoint": "https://www.example.com/api/next-cron",
      "data": null,
      "createdAt": "2024-03-19T10:30:00Z",
      "nextInvocation": "2024-03-20T00:00:00Z"
    }
  ]
}