List Email Tags API
List email tags and contact counts for the active organization.
List the tags used by subscribers in the organization attached to the API key.
Request
GET /api/v1/email/tagscurl -H "x-api-key: org_api_key" \
https://growth.example.com/api/v1/email/tagsResponse
{
"tags": [
{ "tag": "newsletter", "contactsCount": 120 },
{ "tag": "vip", "contactsCount": 17 }
],
"sampleLimited": false
}Error responses:
| Status | Meaning |
|---|---|
401 | Missing or invalid API key. |
Notes
- Tags are returned in descending usage order.
sampleLimitedistruewhen the organization has more tag rows than the read cap.