Track link clicks

For tracking link clicks with a REST API, you need to send a request to the endpoint with the POST method. This endpoint allows you to get information about the link click. You can consult the sample cURL request below.

curl --request POST \
     --url \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'ma-key: ' \
     --data '
  "properties": {
    "newKey": "New Value"
  "email": "[email protected]",
  "link": ""

The attributes for this endpoint are mentioned below.

emailStringEmail address to identify the user[email protected]
linkStringLink to be
propertiesObjectThis 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 scenariosNew field containing (newKey, newValue). The key and value can be any (WebPage Name, Payment Page)


For the response, we have a table to show the response codes below.

Response codeMessageDescription
204Link have been tracked successfullyNo content is shown in message which shows link has been tracked
400Bad requestBad request due to invalid, missing or out_of_range parameters