Get Tag
Fetch one tag by id or name.
MethodGET
/api/v2/tags/:tagReturns one tag by id or name. Permission: audience.
Path Parameters
| Name | Type | Description |
|---|---|---|
tag | string | Required. Tag id or name. |
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Tag id. |
name | string | Tag name. |
subscribersCount | integer | Contacts with this tag. |
Errors
| Status | name | When |
|---|---|---|
| 401 | missing_api_key | Missing or invalid bearer token |
| 403 | missing_permission | Token lacks the audience permission |
| 404 | not_found | Unknown id or name |