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

# Get Firebase Public Config

> Browser-safe Firebase Web SDK config for the storefront PWA.

Returns the **first** active web app entry plus the VAPID public
key — both are public by design (they ship in every Firebase web
client). Returns `None` (not 404) when the tenant hasn't configured
Firebase yet, so the PWA renders the empty state without try/catch.

Sensitive fields (service-account JSON, CAPI tokens, …) are never
touched here — those live behind /admin/firebase + decrypt path.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json get /api/v1/tenant/firebase-public
openapi: 3.1.0
info:
  title: Vellaro API
  description: Vellaro 2026 — E-commerce API
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags: []
paths:
  /api/v1/tenant/firebase-public:
    get:
      tags:
        - tenant
      summary: Get Firebase Public Config
      description: |-
        Browser-safe Firebase Web SDK config for the storefront PWA.

        Returns the **first** active web app entry plus the VAPID public
        key — both are public by design (they ship in every Firebase web
        client). Returns `None` (not 404) when the tenant hasn't configured
        Firebase yet, so the PWA renders the empty state without try/catch.

        Sensitive fields (service-account JSON, CAPI tokens, …) are never
        touched here — those live behind /admin/firebase + decrypt path.
      operationId: get_firebase_public_config_api_v1_tenant_firebase_public_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_Union_dict__NoneType__'
components:
  schemas:
    ApiResponse_Union_dict__NoneType__:
      properties:
        data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Data
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[Union[dict, NoneType]]
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta

````