Skip to main content
POST
Add a secondary domain to an organization

Headers

Authorization
string

For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_

x-cal-secret-key
string

For platform customers - OAuth client secret key

x-cal-client-id
string

For platform customers - OAuth client ID

Path Parameters

orgId
number
required

Body

application/json
domain
string
required

Domain to add as a secondary verified domain

Required string length: 1 - 253
Example:

"acme.fr"

usernameSuffix
string

Suffix appended to usernames of members with this email domain, e.g. john@acme.fr becomes john-fr. Defaults to the domain ending.

Required string length: 1 - 63
Example:

"fr"

Response

201 - application/json
status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
object
required