Create contact attribute

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required

Category of the attribute

Allowed:
string
required

Name of the attribute

Body Params

Values to create an attribute

enumeration
array of objects

List of values and labels that the attribute can take. Use only if the attribute's category is "category". None of the category options can exceed max 200 characters. For example: [{"value":1, "label":"male"}, {"value":2, "label":"female"}]

enumeration
boolean

Type of the attribute. Use only if the attribute's category is 'calculated' or 'global'

multiCategoryOptions
array of strings

List of options you want to add for multiple-choice attribute. Use only if the attribute's category is "normal" and attribute's type is "multiple-choice". None of the multicategory options can exceed max 200 characters. For example: ["USA","INDIA"]

multiCategoryOptions
string
enum

Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' Type user and multiple-choice is only available if the category is normal attribute Type id is only available if the category is transactional attribute Type category is only available if the category is category attribute

string

Value of the attribute. Use only if the attribute's category is 'calculated' or 'global'

Responses
201

Attribute created

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