Schedules

Create a schedule

Creates a reusable availability schedule. Event types reference a schedule to determine their open slots.

post/schedules

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/schedules
  • Auth: API key in header Authorization

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

namestring
time_zonestring

IANA timezone the availability is expressed in

Example request

{
  "name": "Working hours",
  "time_zone": "America/New_York",
  "availability": [
    {
      "start_time": "09:00",
      "end_time": "17:00"
    }
  ],
  "overrides": [
    {
      "date": "2026-12-25",
      "start_time": "12:00",
      "end_time": "14:00"
    }
  ]
}

Response

The created schedule

objectstring required
idstring required
namestring required
time_zonestring required
created_atstring date-time required
updated_atstring date-time required
availabilityobject[] required
overridesobject[] required

Changes

No recorded changes to this operation across all 2 revisions of this API.