---
title: "Create contact attribute"
method: POST
path: "/contacts/attributes/{attributeCategory}/{attributeName}"
tags: ["Contacts"]
---

# Create contact attribute

`POST /contacts/attributes/{attributeCategory}/{attributeName}`

## Path parameters

- `attributeCategory` 'normal' | 'transactional' | 'category' | 'calculated' | 'global', required
- `attributeName` string, required

## Request body

- CreateAttribute
  - `value` string — Value of the attribute. Use only if the attribute's category is 'calculated' or 'global'
  - `isRecurring` boolean — Type of the attribute. Use only if the attribute's category is 'calculated' or 'global'
  - `enumeration` CreateAttributeEnumeration[] — List of values and labels that the attribute can take. Use only if the attribute's category is "category". For example, [{"value":1, "label":"male"}, {"value":2, "label":"female"}]
    - `value` integer, required — Id of the value
    - `label` string, required — Label of the value
  - `multiCategoryOptions` string[] — 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".** For example: **["USA","INDIA"]**
  - `type` 'text' | 'date' | 'float' | 'boolean' | 'id' | 'category' | 'multiple-choice' — Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'boolean' 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 )

## Response `201`

Attribute created

## Other responses

- `400` — bad request

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
