Identify users
Legacy Tracker Documentation
For the legacy tracker doc, check our guide here.
This endpoint creates and updates users directly on the Brevo account. You can use the cURL request 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: YOUR_MA_KEY'
--data '
{
"email": "[email protected]",
"attributes": {
"FirstName": "abc",
"LastName": "def",
"Age": 24,
"SMS": 919989894562
}
}
'
Parameters are defined below:
Attribute | Datatype | Description | Value |
---|---|---|---|
email | String | Email address used to identify a user | [email protected] |
attributes | JSON Object | Contains your custom fields. These user properties will populate your contact database | See example above |
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 2 months ago
What’s Next