POST /tags
AvailableAdd or remove tags on this device so campaigns and flags can target groups.
POST
https://ctrlapp.dev/api/public/sdk/v1/tagsAuth:
Bearer <PUBLISHABLE_KEY>Tags set in the dashboard are kept: this only adds and removes the tags you name. A device can have up to 50 tags of up to 64 characters.
Body
json
{
"device_uid": "<DEVICE_ID>",
"add": ["bidder", "vip"],
"remove": ["new-user"]
}The reply is { "ok": true, "tags": ["vip", "bidder"] }. In Flutter use CtrlApp.instance.addTags([...]) and removeTags([...]).