> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quentli.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List tags

> Returns the tags used to group customers.



## OpenAPI

````yaml /openapi.yaml get /v1/tags
openapi: 3.1.0
info:
  title: Quentli REST API
  version: 1.0.0
  description: OpenAPI spec for Quentli REST endpoints.
servers:
  - url: https://api.quentli.com
    description: Production API
  - url: https://api.staging.quentli.com
    description: Staging API for production-like validation
security:
  - organizationApiKey: []
  - oauthAccessToken: []
tags:
  - name: Auth
  - name: Management
  - name: Billing
  - name: Catalog
  - name: Customers
  - name: Invoices
  - name: Payment Methods
  - name: Payment Sessions
  - name: Payments
  - name: Subscriptions
  - name: Tax Invoices
  - name: Webhooks
  - name: Messaging
paths:
  /v1/tags:
    get:
      tags:
        - Customers
      summary: List tags
      description: Returns the tags used to group customers.
      operationId: tags_list
      parameters:
        - schema:
            type: object
            properties:
              id:
                $ref: '#/components/schemas/StringFilter'
              name:
                $ref: '#/components/schemas/StringFilter'
              description:
                $ref: '#/components/schemas/StringFilter'
            additionalProperties: false
            description: Filter fields encoded with `qs` bracket notation.
          required: false
          description: Filter fields encoded with `qs` bracket notation.
          style: deepObject
          explode: true
          name: filter
          in: query
        - schema:
            type: number
            minimum: 0
            default: 0
            description: Pagination offset.
            example: 0
          required: false
          description: Pagination offset.
          name: skip
          in: query
        - schema:
            type: number
            minimum: 1
            maximum: 100
            default: 20
            description: Pagination limit.
            example: 20
          required: false
          description: Pagination limit.
          name: take
          in: query
      responses:
        '200':
          description: Tags list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTagsResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserError'
        '403':
          description: Permission denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserError'
components:
  schemas:
    StringFilter:
      type: object
      properties:
        equals:
          type: string
        in:
          type: array
          items:
            type: string
        notIn:
          type: array
          items:
            type: string
        lt:
          type: string
        lte:
          type: string
        gt:
          type: string
        gte:
          type: string
        contains:
          type: string
        startsWith:
          type: string
        endsWith:
          type: string
        search:
          type: string
        not:
          $ref: '#/components/schemas/StringFilter'
      additionalProperties: false
    GetTagsResponse:
      type: array
      items:
        $ref: '#/components/schemas/Tag'
      description: List of tags.
    UserError:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
          required:
            - message
      required:
        - error
      additionalProperties: false
      description: Standard user-facing error response envelope.
    Tag:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the tag.
          example: tg_1234567890abcdefghij
        createdAt:
          type: string
          format: date-time
          description: When the tag was created.
        updatedAt:
          type: string
          format: date-time
          description: When the tag was last updated.
        organizationId:
          type:
            - string
            - 'null'
          description: Organization that owns the tag.
        name:
          type: string
          description: Name of the tag.
          example: VIP
        description:
          type:
            - string
            - 'null'
          description: Optional description of the tag.
          example: null
        createdById:
          type:
            - string
            - 'null'
          description: User who created the tag.
        updatedById:
          type:
            - string
            - 'null'
          description: User who last updated the tag.
      required:
        - id
        - createdAt
        - updatedAt
        - organizationId
        - name
        - description
        - createdById
        - updatedById
      description: A label used to group customers.
  securitySchemes:
    organizationApiKey:
      type: http
      scheme: bearer
      description: 'Organization API key using `Authorization: Bearer sk_...`.'
    oauthAccessToken:
      type: http
      scheme: bearer
      bearerFormat: OAuth 2.1
      description: 'OAuth access token using `Authorization: Bearer qoa_at_...`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.