POST
/
contact
/
track
Add Tracking info
curl --request POST \
  --url https://api.sendx.io/api/v1/rest/contact/track \
  --header 'Content-Type: application/json' \
  --header 'X-Team-ApiKey: <api-key>' \
  --data '{
  "email": "<any>",
  "addTags": [
    "new",
    "cool"
  ],
  "removeTags": [
    "old",
    "bad"
  ]
}'
{
  "status": "200",
  "message": "OK"
}

The Track API Method is used to track a contact’s actions by managing tags.

Example Requests:

Add tags:

{
  "addTags": ["blogger", "female"]
}

Add and remove tags:

{
  "addTags": ["paid user"],
  "removeTags": ["trial user"]
} 

Automation rules can be triggered based on tag additions or removals, e.g.:

  • On user registration tag, start onboarding drip campaigns.
  • On account upgrade, start account expansion drip campaigns.
  • On removal of the trial user tag, initiate upsell campaigns.

Authorizations

X-Team-ApiKey
string
header
required

Body

application/json

Response

201
application/json

The created Contact object

The response is of type object.