List all schedules
Returns
Returns a list of your schedules and the size of the list.
GET/schedules
curl -X GET https://api.next-cron.com/schedules \
-H "Authorization: Bearer $YOUR_API_KEY"
Response
{
"size": 1,
"schedules": [
{
"id": "49d10214-f4f1-497a-94b7-c0e597ad3fea",
"name": "My Schedule",
"scheduledAt": "2024-03-20T15:00:00Z",
"status": "Pending",
"endpoint": "https://www.example.com/api/webhook",
"data": {
"userId": "123"
},
"tags": [
"tag1",
"tag2"
],
"createdAt": "2024-03-19T10:30:00Z"
}
]
}