post https://external-api.xtremepush.com/api/external/list/tag-attribute-client
Used to get information on attributes associated with users or devices.
For more information on attributes and tags review our dedicated guide.
Returned attributes
- tag_id
int
ID of tag - device_id
int
ID of the device that attribute is associated with - value
mixed
value of the attribute if set; elsenull
- update_time
int
timestamp the attribute was last updated
Examples
Get all attributes for a specific device:
curl --request POST \
--url https://external-api.xtremepush.com/api/external/list/tag-attribute-client \
--header 'content-type: application/json' \
--data '{
"apptoken": "YOUR_APPTOKEN",
"condition": [
["device_id", "=", 55555]
]
}'
Get a specific attribute for a specific device:
curl --request POST \
--url https://external-api.xtremepush.com/api/external/list/tag-attribute-client \
--header 'content-type: application/json' \
--data '{
"apptoken": "YOUR_APPTOKEN",
"condition": [
["device_id", "=", 55555],
["tag_id", "=", 55555555]
]
}'