Skip to main content
POST
Create Object Attribute

Authorizations

X-API-Key
string
header
required

Path Parameters

type_key
string
required

Body

application/json
label
string
required
attribute_type
string
required

text, long_text, number, currency, date, timestamp, boolean, select, multi_select, status, rating, url, email, phone, domain, user, formula or ai

key
string | null

Permanent identifier; derived from the label when omitted

options
any[] | null
is_required
boolean
default:false
is_unique
boolean
default:false

No two records may share a value; enables upsert on this attribute

formula
string | null

For a formula attribute: arithmetic over number attributes, e.g. seats * price

prompt
string | null

For an AI attribute: what the model must answer about each record; options restrict the answer

admin_only
boolean
default:false

Read and written by the object type's admins only

is_sensitive
boolean
default:false

Never given to the support agent

Response

201 - application/json

Created

The response is of type Response · object.