API/List Email Tags API

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/tags
curl -H "x-api-key: org_api_key" \
  https://growth.example.com/api/v1/email/tags

Response

{
  "tags": [
    { "tag": "newsletter", "contactsCount": 120 },
    { "tag": "vip", "contactsCount": 17 }
  ],
  "sampleLimited": false
}

Error responses:

StatusMeaning
401Missing or invalid API key.

Notes

  • Tags are returned in descending usage order.
  • sampleLimited is true when the organization has more tag rows than the read cap.