Skip to main content
POST
Create attribute

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
enum<string>
required

The type of the attribute value.

Available options:
text,
number,
single_select,
multi_select,
date,
datetime
displayName
string
required

The friendly name of the attribute.

visibility
object
required

Where this attribute appears in Heyy.

details
object

Type-specific configuration (for example select options).

Response

OK

success
enum<boolean>
required
Available options:
true
data
object
required