Create contact attribute
Authentication
The API key should be passed in the request headers as api-key for authentication.
Path parameters
Request
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”}]
Type of the attribute. Use only if the attribute’s category is ‘calculated’ or ‘global’
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”]
Value of the attribute. Use only if the attribute’s category is ‘calculated’ or ‘global’