v1Resources/Locations/postCreate a tag

Create a tag

Creates a new internal tag, scoped to one client.

post/api/v1/locations/tags
locations:write
Request body
clientIdstringrequired
The client this tag belongs to. Look it up with GET /api/v1/clients.
namestringrequired
The tag's name.
Response
dataobjectoptional
idstringoptional
Unique identifier for the newly created tag.
namestringoptional
The tag's name.
clientIdstringoptional
The client this tag belongs to. Look it up with GET /api/v1/clients.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
429Too many requests. Retry after the number of seconds in the Retry-After header.
post/api/v1/locations/tags
Your API key
Request body*
{
  "data": {
    "id": "tag_789",
    "name": "VIP",
    "clientId": "cli_123"
  }
}