Orgs / Attributes
Create an attribute
Getting Started
Platform / Cal Provider
Platform / Managed Users
Platform / Webhooks
Orgs / Attributes
Orgs / Attributes / Options
Orgs / Delegation Credentials
Orgs / Event Types
Orgs / Memberships
Orgs / Orgs
Orgs / Schedules
Orgs / Teams
Orgs / Teams / Bookings
Orgs / Teams / Memberships
Orgs / Teams / Routing forms / Responses
Orgs / Teams / Schedules
Orgs / Users / OOO
Orgs / Webhooks
Api Keys
Bookings
- GETGet all bookings
- POSTCreate a booking
- GETGet a booking
- POSTReschedule a booking
- POSTCancel a booking
- POSTMark a booking absence
- POSTAutomatically reassign booking to a new host
- POSTReassign a booking to a specific user
- POSTConfirm booking that requires a confirmation
- POSTDecline booking that requires a confirmation
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
OAuth Clients
Schedules
Selected Calendars
Slots
Stripe
Teams / Event Types
Teams / Memberships
Timezones
Orgs / Attributes
Create an attribute
POST
/
v2
/
organizations
/
{orgId}
/
attributes
curl --request POST \
--url https://api.cal.com/v2/organizations/{orgId}/attributes \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"slug": "<string>",
"type": "TEXT",
"options": [
{
"value": "<string>",
"slug": "<string>"
}
],
"enabled": true
}'
{
"status": "success",
"data": {
"id": "attr_123",
"teamId": 1,
"type": "TEXT",
"name": "Attribute Name",
"slug": "attribute-name",
"enabled": true,
"usersCanEditRelation": true
}
}
Path Parameters
Body
application/json
Available options:
TEXT
, NUMBER
, SINGLE_SELECT
, MULTI_SELECT
Response
201 - application/json
Available options:
success
, error
Example:
"success"
The ID of the attribute
Example:
"attr_123"
The team ID associated with the attribute
Example:
1
The type of the attribute
Available options:
TEXT
, NUMBER
, SINGLE_SELECT
, MULTI_SELECT
The name of the attribute
Example:
"Attribute Name"
The slug of the attribute
Example:
"attribute-name"
Whether the attribute is enabled and displayed on their profile
Example:
true
Whether users can edit the relation
Example:
true
Was this page helpful?
curl --request POST \
--url https://api.cal.com/v2/organizations/{orgId}/attributes \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"slug": "<string>",
"type": "TEXT",
"options": [
{
"value": "<string>",
"slug": "<string>"
}
],
"enabled": true
}'
{
"status": "success",
"data": {
"id": "attr_123",
"teamId": 1,
"type": "TEXT",
"name": "Attribute Name",
"slug": "attribute-name",
"enabled": true,
"usersCanEditRelation": true
}
}