---
title: "Get personal tags and shared tags."
method: GET
path: "/tags.json"
tags: ["Tags"]
---

# Get personal tags and shared tags.

`GET /tags.json`

## Request

- Base URL: `https://passbolt.local`
- URL: `https://passbolt.local/tags.json`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/passbolt/apis/passbolt-api/docs/tags.json/get.ts> (a function with typed inputs; its response is checked against the schema)

> *Encrypted metadata for tags is available since version 5.1, and is not supported on all clients.*

## Response `200`

Operation is successful

- object
  - `header` Header, required
    - `id` string, uuid, required
    - `status` 'success' | 'error', required
    - `servertime` integer, required
    - `action` string, uuid, required
    - `message` string, required
    - `url` string, uri, required
    - `code` integer, required
  - `body` union, required
    - TagLegacy
      - `id` string, uuid, required
      - `user_id` string, uuid
      - `slug` string, required
      - `is_shared` boolean, required
    - TagV5
      - `metadata` string, required: An armoured OpenPGP message. Its cleartext is a JSON object carrying an `object_type` field that names the payload, `PASSBOLT_RESOURCE_METADATA` for a resource, and the descriptive fields that used to travel in clear in the v4 format. The fields expected for a resource, and the two decryption paths, are described in the guide on working with v5 encrypted metadata.
      - `metadata_key_id` string, uuid, required
      - `metadata_key_type` 'user_key' | 'shared_key', required
      - `id` string, uuid, required
      - `is_shared` boolean, required

## Other responses

- `400`: Bad request
- `401`: Authentication required.

## Changes

- **2025-06-25** `829cf48ab700`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/passbolt/apis/passbolt-api/changes/tags.json/get.md)

---

[API](https://skmtc.dev/passbolt/apis/passbolt-api.md) - [All operations](https://skmtc.dev/passbolt/apis/passbolt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/passbolt/apis/passbolt-api/revisions/8d72215e2274?raw)
