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

orgId
number
required

Body

application/json
name
string
required
slug
string
required
type
enum<string>
required
Available options:
TEXT,
NUMBER,
SINGLE_SELECT,
MULTI_SELECT
options
object[]
required
enabled
boolean

Response

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

"success"

data
object
required