Create attribute definition
This endpoint is used to create a new attribute definition for all contacts in a workspace. A contact attribute definition is used to define the attributes that a contact can have.
An access token issued to a user.
Your workspace identifier.
b4e02c85-c6d2-4b15-8885-e09671799c61A user-specified key, primarily for client reference.
countryCodePattern: ^[A-Za-z\d_-]{1,64}$A human-readable name of the attribute.
Country CodeA user-friendly description of the attribute.
The country code of the contactThe cardinality configures how many values belong to the single key.
A flag to indicate whether this attribute is considered personally identifiable information.
falseA flag to indicate whether this attribute may be updated after creation.
falseThe attribute definition was created successfully.
The UUID, primarily for internal reference
123e4567-e89b-12d3-a456-426614174000A user-specified key, primarily for client reference.
countryCodeA human-readable name of the attribute.
Country CodeA user-friendly description of the attribute.
The country code of the contact.The cardinality configures how many values belong to the single key.
The data type of the attribute.
A flag to indicate whether this attribute is considered personally identifiable information.
falseA flag to indicate whether this attribute may be updated after creation.
falseA flag to indicate whether this attribute is built-in. Built-in attributes are system-defined and cannot be updated or deleted by end-users.
falseA flag to indicate whether this attribute is archived.
falseThe version number of the attribute definition.
1The workspace was not found.
The HTTP could not be completed because of a conflict with the current state of the resource.
The HTTP request is well-formed but was unable to be processed. The HTTP response should include details about the error.
Examples
Create an attribute definition
Create an attribute definition with a format
Last updated
Was this helpful?

