curl "https://app.tatango.com/api/v2/lists/ID/bulk_taggings" -d '{"bulk_tagging":{"phone_numbers":["2065551111","2065551112"],"tags":["vip","customer"],"replace_tags":false}}' -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -u emailaddress@mydomain.com:my_api_key \
  -H "Host: example.org" \
  -H "Cookie: "
{
  "number_count": 3,
  "tag_count": 3,
  "subscribers_to_update": 2,
  "replace_tags": false,
  "not_subscribed": [
    "2065551113"
  ],
  "invalid_numbers": []
}

Other uses You can also use this endpoint to mass remove tags from subscribers. For example if replace_tags is true and your tags list is empty it will remove all tags from your numbers list

Request URL

POST https://app.tatango.com/api/v2/lists/{ID}/bulk_taggings

Authorizations

Authorization
string
header
required

Tatango authenticates API requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.

Path Parameters

ID
integer
required

ID of the list

Body

application/json

Response

200 - application/json

Bulk tagging operation completed

The response is of type object.