GET
/
schedules
curl --request GET \
  --url https://api.mergent.co/v2/schedules \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "4cf95241-fa19-47ef-8a67-71e483747649",
    "name": "4cf95241-fa19-47ef-8a67-71e483747649",
    "description": "Report billing to Stripe.",
    "queue": "default",
    "request": {
      "url": "https://example.com",
      "headers": {
        "Authorization": "8BOHec9yUJMJ4sJFqUuC5w==",
        "Content-Type": "application/json"
      },
      "body": "Hello, world!"
    },
    "cron": "* * * * *",
    "rrule": "FREQ=HOURLY",
    "dtstart": "2021-10-01T15:53:05Z",
    "paused": true,
    "scheduled_for": "2021-10-01T15:53:05Z",
    "created_at": "2021-10-01T15:53:05Z"
  }
]

Authorizations

Authorization
string
header
required

The Mergent API uses API keys to authenticate requests. Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Response

200
application/json
A list of schedules in sorted order, with the most recent schedules appearing first.

The response is of type object[].