curl --request POST \
--url https://api.cal.com/v2/organizations/{orgId}/attributes \
--header 'Authorization: <authorization>' \
--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
}
}
value must be Bearer <token>
where <token>
is api key prefixed with cal_
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.cal.com/v2/organizations/{orgId}/attributes \
--header 'Authorization: <authorization>' \
--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
}
}
curl --request POST \
--url https://api.cal.com/v2/organizations/{orgId}/attributes \
--header 'Authorization: <authorization>' \
--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
}
}
value must be Bearer <token>
where <token>
is api key prefixed with cal_
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.cal.com/v2/organizations/{orgId}/attributes \
--header 'Authorization: <authorization>' \
--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
}
}