POST /contacts/attributes/{attributeCategory}/{attributeName}
Servers
- https://api.sendinblue.com/v3
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
attributeCategory |
String | Yes |
Category of the attribute Valid values:
|
attributeName |
String | Yes |
Name of the attribute |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
multiCategoryOptions[] |
Array | No |
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"] |
enumeration[] |
Array | No |
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[].label |
String | Yes |
Label of the value |
enumeration[].value |
Integer | Yes |
Id of the value |
type |
String | No |
Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'boolean' 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 ) Valid values:
|
value |
String | No |
Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.