Hit

Used to add a tag or update an attribute when an event occurs or an attribute changes outside your app, for example balance_updated, user_balance, etc.

For more information on attributes and tags review our dedicated guide.

Example

Set a user's first name attribute:

curl --request POST \
  --url https://api.eu.xtremepush.com/api/external/hit/tag \
  --header 'content-type: application/json' \
  --data '{
    "apptoken": "YOUR_APPTOKEN",
    "device_id": "20",
    "tag": "user_first_name",
    "value": "Sam"
  }'
Language
Click Try It! to start a request and see the response here!