Skip to main content
POST
Create an attribute

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_

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,
USER_RELATIONSHIP
options
object[]
required
enabled
boolean

Response

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

"success"

data
object
required