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

# Verify Email

> Answer the sign-up code. This is what activates the account and grants the credits.



## OpenAPI

````yaml /openapi.json post /account/verify-email
openapi: 3.1.0
info:
  title: Corpus API
  description: >-
    Point-in-time financial and governed-document data for the US, India, and
    China.
  version: '2026-07-20'
servers:
  - url: https://corpus-api.onera.app
    description: Production
security: []
paths:
  /account/verify-email:
    post:
      tags:
        - Account
      summary: Verify Email
      description: >-
        Answer the sign-up code. This is what activates the account and grants
        the credits.
      operationId: verify_email_account_verify_email_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyEmailRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionResponse'
        '400':
          description: Invalid parameter combination
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Insufficient jurisdiction or scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Unknown resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Request schema validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Source content is unavailable or still processing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - X-API-KEY: []
components:
  schemas:
    VerifyEmailRequest:
      properties:
        email:
          type: string
          title: Email
        code:
          type: string
          title: Code
      type: object
      required:
        - email
        - code
      title: VerifyEmailRequest
    SessionResponse:
      properties:
        account_id:
          type: string
          title: Account Id
        email:
          type: string
          title: Email
        session_token:
          type: string
          title: Session Token
        expires_in:
          type: integer
          title: Expires In
        is_operator:
          type: boolean
          title: Is Operator
          default: false
      type: object
      required:
        - account_id
        - email
        - session_token
        - expires_in
      title: SessionResponse
      description: >-
        A Corpus-issued session token for email sign-in.


        Short-lived and identity-only: scopes and the operator flag are re-read
        from the

        database on every request, so revoking access does not wait for expiry.
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
      type: object
      required:
        - error
        - message
      title: ErrorResponse
  securitySchemes:
    X-API-KEY:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Provisioned Corpus API key with the required jurisdiction and operation
        scopes.

````