Skip to main content

List the tags the caller can see.

GET/api/v1/tagslookup_lists:read

Needs View Tags and current access to each tag. View Tag Security reveals user_ids and group_ids; otherwise those lists are null. The enabled tags are listed; include_disabled (needs Restore Tags) adds the disabled tags, with is_deleted true, so one can be enabled again by its ID.

Scopelookup_lists:read
AsynchronousNo
MCP toollist_tags
Portal permissionsview_tags
Pagingkeyset
Default ordertag_id
Sort fieldstag_id
Filtersinclude_disabled

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
include_disabledqueryarray of booleanOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of TagRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Tag​

FieldTypeRequiredDescription
colorstring or nullRequired
created_atstring (date-time) or nullRequired
descriptionstring or nullRequired
group_idsarray of string or nullRequiredThe groups the tag is restricted to; none means open to all.
is_deletedbooleanRequiredtrue for a disabled tag: it leaves everyone's Tags tab and cannot be put on documents.
is_mutually_exclusivebooleanRequiredWhether a document can carry only one of the tag's children.
is_tag_groupbooleanRequiredWhether the tag only groups other tags.
namestringRequired
parent_tag_idstring or nullRequired
sort_orderinteger or nullRequired
tag_idstringRequired
updated_atstring (date-time) or nullRequired
user_idsarray of string or nullRequiredThe users the tag is restricted to; none means open to all.