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 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?

