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

# List Products



## OpenAPI

````yaml GET /products
openapi: 3.1.0
info:
  title: Tabillo API
  version: 1.0.0
  description: >
    External REST API for Tabillo workspaces. Authenticate using an API key
    generated in Settings → API Keys (admin only).
  contact:
    email: support@tabillo.com
servers:
  - url: https://crossproductroadmapbackend.vercel.app/api/v1
    description: Production
security:
  - ApiKeyAuth: []
  - OAuthBearer: []
paths:
  /products:
    get:
      tags:
        - Products
      summary: List all products with their sub-products
      operationId: listProducts
      parameters:
        - $ref: '#/components/parameters/TenantSlug'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  products:
                    type: array
                    items:
                      $ref: '#/components/schemas/Product'
        '401':
          description: Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    TenantSlug:
      name: x-tenant-slug
      in: header
      required: true
      schema:
        type: string
      description: Your workspace slug (e.g. `acme`).
      example: acme
  schemas:
    Product:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        slug:
          type: string
        icon:
          type: string
          nullable: true
        iconColor:
          type: string
          nullable: true
        subProducts:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              slug:
                type: string
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: tab_<32 alphanumeric chars>
      description: >
        Generate an API key in your workspace Settings → API Keys. Pass it as
        `Authorization: Bearer tab_<key>` on every request.
    OAuthBearer:
      type: http
      scheme: bearer
      bearerFormat: tabt_<32 alphanumeric chars>
      description: >
        OAuth 2.0 access token obtained via the Authorization Code flow. Pass it
        as `Authorization: Bearer tabt_<token>` on every request. Tokens expire
        after 1 hour; use the refresh token to obtain a new one.

````