List tags
GET
https://api.norreach.app/v1/tagsEvery tag in the workspace with how many contacts carry it, most used first. Counts cover the newest 20 000 contacts (counts_capped says when there are more).
contacts:readOperation id: list_tags
GET/tags
curl -X GET "https://api.norreach.app/v1/tags" \
-H "Authorization: Bearer $NORREACH_API_KEY"List tags
{
"object": "list",
"data": [
{
"object": "tag",
"name": "webinar",
"contacts": 42
}
],
"has_more": false,
"next_cursor": null,
"counts_capped": false
}Authorizations
Authorizationstringheaderrequired
Bearer authentication: send Authorization: Bearer <key>, with an API key or an OAuth access token. The key needs the scope contacts:read. API keys and scopes
Response
200application/json— List tags
object"list"required
dataobject[]required
Show child attributesHide child attributes
data[].object"tag"required
data[].namestringrequired
data[].contactsintegerrequired
has_morefalserequired
next_cursornullrequired
counts_cappedbooleanrequired
Errors
Errors are application/problem+json with a stable code.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request couldn't be read. |
| 400 | unknown_field | The request has a field this operation doesn't know. |
| 401 | unauthorized | A valid API key is required. |
| 403 | insufficient_scope | This API key doesn't have the scope this operation needs. |
| 403 | feature_not_enabled | The API isn't switched on for this workspace. |
| 429 | rate_limited | Too many requests. Slow down and try again. |
| 500 | server_error | Something went wrong on our side. |
| 503 | unavailable | The API isn't available right now. Try again shortly. |