Create a contact attribute

Create an application or organization level attribute to be used on contacts.

Required scope: write_contacts.

Body Params

Create contact attribute params

string
enum
required

The data type of the attribute value

boolean
Defaults to true

If the attribute is encrypted it cannot be used as a filter. Attributes that will have sensitive information, such as PII or PHI, should be encrypted. Defaults to true.

string
required
length ≥ 1

The human-readable name of the attribute. A stable internal name is derived from it, so two labels that differ only in case, spacing or punctuation refer to the same attribute.

string
enum
required

The scope the attribute belongs to: the calling application (PRODUCT) or the organization.

Allowed:
Responses

Callback
Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json