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

# Get Ingest Token

> Mint a short-lived origin-bound ingest token for the JS SDK.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json get /v1/insights/token
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/insights/token:
    get:
      tags:
        - insights
      summary: Get Ingest Token
      description: Mint a short-lived origin-bound ingest token for the JS SDK.
      operationId: insights_get_ingest_token
      parameters:
        - name: app_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
            title: App Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IngestTokenResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security: []
components:
  schemas:
    IngestTokenResponse:
      properties:
        token:
          type: string
          title: Token
      type: object
      required:
        - token
      title: IngestTokenResponse
      description: Short-lived signed proof the browser loaded from an allowed app host.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.

````

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