Skip to main content
POST
Create a private calendar

Authorizations

Authorization
string
header
required

Qubrics API key. Use a root API key for Management API routes, or a mailbox credential for Mailbox API routes. Obtain keys from the dashboard under API Keys.

Scopes

calendar.write

Create calendars and create, edit and delete events in this mailbox

Headers

Idempotency-Key
string

Stable key for this exact create in this mailbox. Saved responses replay for 24 hours. Uncertain creates still require read-only reconciliation.

Required string length: 1 - 255

Query Parameters

mailbox_id
string

Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox.

Body

application/json
name
string
required

Private calendar name.

Required string length: 1 - 255
Example:

"Appointments"

time_zone
string
required

Time zone for local event times.

Required string length: 1 - 100
Example:

"Australia/Melbourne"

Response

Calendar created.

meta
object
required
ok
enum<boolean>
required
Available options:
true
data
object
required