Endpoint ·
GET /tagsRead-only endpoint: it returns information and changes nothing. It is not sent inside the
actions array — you call it directly.name of a label before using it: the assign_label
and remove_label actions identify each label by name, so it is best to read
the catalog first instead of guessing the text.
Parameters
slug— the business slug, in the path. Case-insensitive, must match the business of the token (required).search— name substring, case-insensitive. Optional, 1 to 100 characters. The asterisk*works as a wildcard and matches any sequence of characters:fact*mxfinds bothFacturas MXandFacturación MX. The characters%and_are matched literally.cursor— opaque cursor returned by the previous page innext_cursor. Optional; omit it to request the first page. Do not reuse cursors across different endpoints: even though the format is identical, each endpoint interprets it over its own data set.limit— labels per page. Optional, integer from 1 to 500, defaults to 100.
GET /tags with no query params returns the
full first page.
Response
items— array of labels, each one withnameandcolor.next_cursor— cursor for the next page, to be passed as?cursor=. It isnullwhenhas_moreisfalse.has_more— whether there are more results after this page. Repeat the call withnext_cursoruntil it isfalse.
Example
A plain read, with no body: it asks for the catalog and changes nothing in the business.name returned by this query is the one you then send in the action.
Errors
The full catalog is in Errors.
With the name in hand, the action that consumes it is
Assign label or
Remove label.