cal.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Bookings
cancel
bookings.cancel
Cancel a booking [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | — |
cancellationReason | string | No | — |
allRemainingBookings | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | — |
data | object | No | — |
data full type
data full type
confirm
bookings.confirm
Confirm a pending booking
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | — |
data | object | No | — |
data full type
data full type
create
bookings.create
Create a new booking
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
start | string | Yes | — |
eventTypeId | number | Yes | — |
attendee | object | Yes | — |
meetingUrl | string | No | — |
lengthInMinutes | number | No | — |
bookingFieldsResponses | object | No | — |
metadata | object | No | — |
attendee full type
attendee full type
bookingFieldsResponses full type
bookingFieldsResponses full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | — |
data | object | No | — |
data full type
data full type
decline
bookings.decline
Decline a pending booking
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | — |
reason | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | — |
data | object | No | — |
data full type
data full type
get
bookings.get
Get a booking by UID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | — |
data | object | No | — |
data full type
data full type
list
bookings.list
List all bookings
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
status | upcoming | recurring | past | cancelled | unconfirmed | No | — |
attendeeEmail | string | No | — |
attendeeName | string | No | — |
eventTypeIds | string | No | — |
eventTypeId | number | No | — |
teamsIds | string | No | — |
teamId | number | No | — |
afterStart | string | No | — |
beforeEnd | string | No | — |
sortStart | asc | desc | No | — |
sortEnd | asc | desc | No | — |
sortCreated | asc | desc | No | — |
take | number | No | — |
skip | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | — |
data | object[] | No | — |
data full type
data full type
reschedule
bookings.reschedule
Reschedule a booking to a new time
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | — |
start | string | Yes | — |
rescheduledBy | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | — |
data | object | No | — |
data full type
data full type