Skip to main content
POST
/
api
/
schedule
/
v1
/
preview
PreviewSchedules
curl --request POST \
  --url https://developer.synq.io/api/schedule/v1/preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "schedules": [
    {
      "schedule": {
        "timezone": "<string>",
        "cron": {
          "expression": "<string>"
        }
      },
      "after": "2023-11-07T05:31:56Z",
      "limit": 50
    }
  ]
}
'
{
  "results": [
    {
      "occurrences": [
        "2023-11-07T05:31:56Z"
      ],
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
schedules
PreviewScheduleParams · object[]

Schedules to evaluate. An empty list returns an empty response.

Maximum array length: 100

Response

200 - application/json

Success

results
PreviewScheduleResult · object[]

Results matching the request schedules by index.