Skip to main content
POST
Create an availability

Authorizations

Authorization
string
header
required

Use the Authorization header with Bearer scheme.

Examples:

  • API Key: Authorization: Bearer calid_xxxxx

Body

application/json
scheduleId
integer
required

Schedule identifier that owns this availability block.

Required range: x > 1
Example:

42

startTime
string
required

Availability start timestamp stored as time-of-day in UTC-compatible format.

Minimum string length: 1
Example:

"1970-01-01T09:00:00.000Z"

endTime
string
required

Availability end timestamp stored as time-of-day in UTC-compatible format.

Minimum string length: 1
Example:

"1970-01-01T17:00:00.000Z"

days
integer[]
required

Weekday numbers for recurring availability (0 = Sunday, 6 = Saturday).

Minimum array length: 1
Example:

Response

Created availability

Created availability

success
enum<boolean>
required
Available options:
true
data
object
message
string
meta
object