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

# Mint an analytics ingest token

> Verifies a project API key and returns a purpose-limited token that authorizes analytics event ingest for five minutes. The project identity is resolved server-side and is not included separately in the response.



## OpenAPI

````yaml https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /analytics/ingest-token
openapi: 3.1.0
info:
  title: Deposit Service API
  version: 1.0.0
  description: >-
    Cross-chain deposit processing service with automatic token bridging and gas
    sponsorship
servers:
  - url: https://v1.orchestrator.rhinestone.dev/deposit-processor
security: []
paths:
  /analytics/ingest-token:
    post:
      tags:
        - Analytics
      summary: Mint an analytics ingest token
      description: >-
        Verifies a project API key and returns a purpose-limited token that
        authorizes analytics event ingest for five minutes. The project identity
        is resolved server-side and is not included separately in the response.
      parameters:
        - schema:
            type: string
            description: Project API key used to resolve analytics attribution
            example: your-api-key
          required: true
          description: Project API key used to resolve analytics attribution
          name: x-api-key
          in: header
      responses:
        '200':
          description: Analytics ingest token and its expiry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyticsIngestTokenResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    AnalyticsIngestTokenResponse:
      type: object
      properties:
        token:
          type: string
          description: >-
            Purpose-limited JWT authorizing analytics event ingest for five
            minutes
          example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
        expiresAt:
          type: string
          format: date-time
          description: UTC expiry matching the JWT exp claim
          example: '2026-08-25T14:35:00.000Z'
      required:
        - token
        - expiresAt
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
              path:
                type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
              code:
                type: string
            required:
              - message
      required:
        - error

````