Skip to content
RedirHub/API
Sign inGet API key
Short Links · link.tags
GET/link/tagslink.tags

List short link tags

Lists every tag used across the workspace short links, ready to feed a filter UI.

Base URL
https://api.redirhub.com/v1
Auth
Bearer token
Idempotent
Yes
Returns
application/json

The request

Call GET /link/tags with your bearer token.

# List short link tags
curl "https://api.redirhub.com/v1/link/tags" \
  -H "Authorization: Bearer $REDIRHUB_TOKEN"

The response

A 200 carries the payload inside a data array — the same shape the list endpoints return, so one parser handles both.

{
  "data": [
    {
      "slug": "string",
      "name": "Acme",
      "count": 1
    }
  ]
}

Status codes

200
SuccessTags used by the workspace, with the number of records carrying each one.
401
UnauthenticatedUnauthenticated
429
Too many requestsToo many requests