Identify users
You can use the endpoint https://in-automate.brevo.com/api/v2/identify
with the POST
method. This endpoint basically creates and updates users on the Marketing Automation in the Brevo account. You can use the cURL below to send a request.
curl --request POST \
--url https://in-automate.brevo.com/api/v2/identify \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'ma-key: '
The attributes for identifying users are defined below in a table.
Attribute | Datatype | Description | Value |
---|---|---|---|
email | String | Email address used to identify a user | [email protected] |
attributes | Object | This object will contain all your custom fields. Add as many as needed. Keep in mind that those user properties will populate your database on the Marketing Automation platform to create rich scenarios | It has a field with a newKey and a newValue |
Response
Response code | Message | Description |
---|---|---|
204 | User has been identified and successfully updated | Response shown in case of creation and user update |
400 | Bad request | This error is shown in case of a bad request involving invalid_parameter , missing_parameter and out_of_RangeModel |
Updated about 1 month ago