Orgs / Attributes / Options
Get by attribute slug all of the attribute options that are assigned to users
Getting Started
Platform / Managed Users
Platform / Webhooks
Orgs / Attributes
Orgs / Attributes / Options
- GETGet all attribute options
- POSTCreate an attribute option
- DELDelete an attribute option
- PATCHUpdate an attribute option
- GETGet by attribute id all of the attribute options that are assigned to users
- GETGet by attribute slug all of the attribute options that are assigned to users
- GETGet all attribute options for a user
- POSTAssign an attribute to a user
- DELUnassign an attribute from a user
Orgs / Bookings
Orgs / Delegation Credentials
Orgs / Memberships
Orgs / Routing forms
Orgs / Schedules
Orgs / Teams
Orgs / Teams / Bookings
Orgs / Teams / Conferencing
- POSTConnect your conferencing application to a team
- GETGet OAuth conferencing app's auth url for a team
- GETList team conferencing applications
- POSTSet team default conferencing application
- GETGet team default conferencing application
- DELDisconnect team conferencing application
- GETSave conferencing app OAuth credentials
Orgs / Teams / Event Types
Orgs / Teams / Memberships
Orgs / Teams / Routing forms
Orgs / Teams / Routing forms / Responses
Orgs / Teams / Users / Schedules
Orgs / Users / Bookings
Orgs / Users / OOO
Orgs / Users / Schedules
Orgs / Webhooks
Api Keys
Bookings
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
Managed Orgs
OAuth Clients
Organizations/Teams Stripe
Routing forms
Schedules
Selected Calendars
Slots
Teams / Event Types
Teams / Memberships
Orgs / Attributes / Options
Get by attribute slug all of the attribute options that are assigned to users
GET
/
v2
/
organizations
/
{orgId}
/
attributes
/
slugs
/
{attributeSlug}
/
options
/
assigned
curl --request GET \
--url https://api.cal.com/v2/organizations/{orgId}/attributes/slugs/{attributeSlug}/options/assigned \
--header 'Authorization: <authorization>'
{
"status": "success",
"data": [
{
"id": "attr_option_id",
"attributeId": "attr_id",
"value": "option_value",
"slug": "option-slug",
"assignedUserIds": [
124,
224
]
}
]
}
Headers
value must be Bearer <token>
where <token>
is api key prefixed with cal_
Query Parameters
Number of responses to skip
Number of responses to take
Filter by assigned attribute option ids. ids must be separated by a comma.
Filter by teamIds. Team ids must be separated by a comma.
Response
200 - application/json
Available options:
success
, error
Example:
"success"
The ID of the option
Example:
"attr_option_id"
The ID of the attribute
Example:
"attr_id"
The value of the option
Example:
"option_value"
The slug of the option
Example:
"option-slug"
Ids of the users assigned to the attribute option.
Example:
[124, 224]
curl --request GET \
--url https://api.cal.com/v2/organizations/{orgId}/attributes/slugs/{attributeSlug}/options/assigned \
--header 'Authorization: <authorization>'
{
"status": "success",
"data": [
{
"id": "attr_option_id",
"attributeId": "attr_id",
"value": "option_value",
"slug": "option-slug",
"assignedUserIds": [
124,
224
]
}
]
}