post https://api.brevo.com/v3/events
Create an event to track a contact's interaction.
CURL Example
curl --request POST \
--url https://api.brevo.com/v3/events \
--header 'accept: application/json' \
--header 'api-key: ' \
--header 'content-type: application/json' \
--data '
{
"event_name": "video_played",
"identifiers": {
"email_id": "[email protected]",
"ext_id": "ext_09887"
},
"contact_properties": {
"FIRSTNAME": "Jane",
"LASTNAME": "Doe",
"AGE": 32,
"GENDER": "FEMALE"
},
"event_properties": {
"video_title": "Brevo — The most approachable CRM suite",
"video_description": "Create your free account today!",
"duration": 142,
"autoplayed": false,
"upload_date": "2023-11-24T12:09:10+01:00"
}
}'