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

# Get the API key owner



## OpenAPI

````yaml /openapi.json get /v1/me
openapi: 3.1.0
info:
  title: Onlyform Public API
  version: '2026-08-01'
  summary: >-
    Programmatic access to Onlyform workspaces, forms, submissions, analytics,
    and webhooks.
  description: >-
    The Onlyform Public API uses stable resource IDs, cursor pagination, scoped
    API keys, and structured errors. API keys are created in the Onlyform
    profile and must be sent in the X-API-Key header. Keys are shown once and
    cannot be recovered.
servers:
  - url: https://api.onlyform.com
    description: Production
security:
  - ApiKey: []
tags:
  - name: Identity
    description: Inspect the API key owner and effective scopes.
  - name: Workspaces
    description: List and manage accessible workspaces.
  - name: Forms
    description: Create and manage forms and their block definitions.
  - name: Submissions
    description: Read and remove completed form submissions.
  - name: Analytics
    description: Read aggregate form funnel metrics.
  - name: Webhooks
    description: Manage response-completed webhooks and inspect deliveries.
paths:
  /v1/me:
    get:
      tags:
        - Identity
      summary: Get the API key owner
      operationId: getCurrentUser
      responses:
        '200':
          description: Authenticated account and effective key scopes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentUser'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    CurrentUser:
      type: object
      required:
        - id
        - name
        - email
        - scopes
      properties:
        id:
          $ref: '#/components/schemas/ObjectId'
        name:
          type: string
        email:
          type: string
          format: email
        scopes:
          type: array
          items:
            $ref: '#/components/schemas/Scope'
    ObjectId:
      type: string
      pattern: ^[0-9a-fA-F]{24}$
      examples:
        - 507f1f77bcf86cd799439011
    Scope:
      type: string
      enum:
        - analytics:read
        - forms:read
        - forms:write
        - submissions:read
        - submissions:write
        - webhooks:read
        - webhooks:write
        - workspaces:read
        - workspaces:write
    Error:
      type: object
      required:
        - type
        - code
        - message
        - status
        - request_id
      properties:
        type:
          type: string
        code:
          type: string
        message:
          type: string
        status:
          type: integer
        request_id:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
    ErrorDetail:
      type: object
      additionalProperties: true
  responses:
    Unauthorized:
      description: Missing, invalid, expired, or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: The key exceeded 100 requests in one minute.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        A scoped key with the of_live_ prefix, generated from Profile > API
        keys.

````