List tagsMenu

List tags

GET/v1/tags

Requires an API key with the tags:read scope. About keys and scopes

Works with integration, agent and partner keys. Also available to embed sessions.

Returns the workspace's tags sorted by name (ignoring case), each with how many campaigns, journeys, segments and templates carry it. Results are cursor-paginated: pass meta.pagination.nextCursor back as cursor until it comes back null. The cursor is opaque — do not construct or parse one.

Query parameters

limitintegeroptional

How many items a page holds: 1 to 100, 20 by default.

min > 0 · max 100 · default 20

cursorstringoptional

Where the page starts: the previous page's meta.pagination.nextCursor. Omit it for the first page, and send the same filters with it.

1–2,048 characters

querystringoptional

Part of the tag's name, ignoring case: what a picker types.

1–64 characters

Header parameters

Kirora-Workspacestringoptional

Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.

pattern ^[A-Za-z0-9._:-]{1,128}$

Returns

Returns 200 OK with a list of Tag objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

namestringrequired
usageobjectrequired

How many items of each kind carry the tag.

4 child attributes
campaignsintegerrequired

min 0

journeysintegerrequired

min 0

segmentsintegerrequired

min 0

templatesintegerrequired

min 0

createdAtstringrequired

date-time

updatedAtstringrequired

date-time