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

# Record My Purpose Specific Browser Consent Receipt and Expiry

> Private, no-store personal rights workflow. A recorded request or review is not automatic deletion or a full personal-data export.



## OpenAPI

````yaml /docs/api/openapi.json post /v1/privacy/consent
openapi: 3.1.0
info:
  title: Quantura API
  version: 1.0.0
  description: >-
    Search markets and public datasets, download historical observations, create
    forecasts and inspect screener quantiles.
  contact:
    name: Quantura
    url: https://quantura.studio/contact
  license:
    name: Quantura API Terms
    url: https://quantura.studio/terms
servers:
  - url: https://quantura.studio/api
security:
  - bearerAuth: []
  - clerkOAuth:
      - openid
      - profile
      - email
tags:
  - name: Access
  - name: Forecast
  - name: Screener
  - name: Admin Canvas
  - name: CSV library
  - name: Privacy
  - name: Search
  - name: Download
  - name: Scout
paths:
  /v1/privacy/consent:
    servers:
      - url: https://quantura.studio/api
    post:
      tags:
        - Privacy
      summary: Record My Purpose Specific Browser Consent Receipt and Expiry
      description: >-
        Private, no-store personal rights workflow. A recorded request or review
        is not automatic deletion or a full personal-data export.
      operationId: recordPrivacyConsent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - version
                - analytics
                - marketing
                - saved_at
                - expires_at
              properties:
                version:
                  const: '2026-11-16'
                analytics:
                  type: boolean
                marketing:
                  type: boolean
                saved_at:
                  type: number
                expires_at:
                  type: number
      responses:
        '200':
          description: >-
            Idempotent consent receipt without raw cookies or browser
            fingerprints
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    type: object
                    properties:
                      receipt_id:
                        type: string
                        pattern: ^[a-f0-9]{64}$
                      version:
                        const: '2026-11-16'
                      analytics:
                        type: boolean
                      marketing:
                        type: boolean
                      saved_at:
                        type: number
                      expires_at:
                        type: number
              example:
                data:
                  receipt_id: >-
                    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
                  version: '2026-11-16'
                  analytics: false
                  marketing: false
                  saved_at: 1794830400000
                  expires_at: 1810382400000
        '401':
          description: Sign in
          content:
            application/json:
              schema:
                type: object
        '403':
          description: Personal session or controller permission required
          content:
            application/json:
              schema:
                type: object
        '409':
          description: Conflicting retry, closed request or inconsistent state
          content:
            application/json:
              schema:
                type: object
        '422':
          description: Invalid bounded input
          content:
            application/json:
              schema:
                type: object
        '429':
          description: Rate limited; email hello@quantura.studio remains available
          content:
            application/json:
              schema:
                type: object
        '503':
          description: Temporarily unavailable; contact the controller
          content:
            application/json:
              schema:
                type: object
      security:
        - privacySession: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Clerk personal API key or legacy Quantura key
    clerkOAuth:
      type: oauth2
      description: >-
        Clerk authorization code with PKCE S256. Pass
        resource=https://quantura.studio on authorization and token requests.
        Paid Pro, enterprise or verified administrator API access is required.
      flows:
        authorizationCode:
          authorizationUrl: https://clerk.quantura.studio/oauth/authorize
          tokenUrl: https://clerk.quantura.studio/oauth/token
          refreshUrl: https://clerk.quantura.studio/oauth/token
          scopes:
            openid: Identify the Quantura account
            profile: Resolve the account profile
            email: Verify account email
            offline_access: Refresh access after expiry
    privacySession:
      type: http
      scheme: bearer
      bearerFormat: Verified Clerk or Firebase web-session JWT
      description: >-
        Personal privacy controls require the requester’s own non-guest web
        session. No paid plan is required. API keys, marketplace proxy keys and
        delegated OAuth grants are not accepted.

````

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