Track link clicks

Legacy Tracker Documentation

For the legacy tracker doc, check our guide here.

This endpoint sends information about link clicks. See the sample cURL request below:

$curl --request POST \
> --url https://in-automate.brevo.com/api/v2/trackLink \
> --header 'accept: application/json' \
> --header 'content-type: application/json' \
> --header 'ma-key: YOUR_MA_KEY' \
> --data '
>{
> "email": "abc@email.com",
> "link": "abc.com/document.pdf",
> "properties": {
> "key": "value"
> }
>}
>'

Parameters:

AttributeDatatypeDescriptionValue
emailStringEmail address used to identify the userabc@email.com
linkStringLink to trackabc.com/document.pdf
propertiesObjectCustom fields. These user properties populate your contact database.See example above

Response

Response codeMessageDescription
204Link has been tracked successfullyNo content in the response — the link has been tracked.
400Bad requestInvalid, missing, or out-of-range parameters.