> For the complete documentation index, see [llms.txt](https://docs.fylr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fylr.io/for-developers/api/endpoints/api-tags.md).

# /api/v1/tags

Manages the complete set of tag groups and tags. `GET` returns every taggroup and its tags and requires only an authenticated user; `POST` replaces the entire set from the request body, deleting any group or tag absent from it, writes the `taggroup` and `tag` tables directly in the request transaction (effective immediately, no working copy or commit step), and requires the `system.tagmanager` system right.

### `GET /tags` — Get all tags

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/tags" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `POST /tags` — Create, update or delete taggroups and tags

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/tags" method="post" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}
