> ## 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.

# Email Signup

> Create a pending account and email a verification code.

202, not 201: the account exists but is not yet usable, and the caller's next step is
somewhere else. No session token is returned — see the module note above.



## OpenAPI

````yaml /openapi.json post /account/signup
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/signup:
    post:
      tags:
        - Account
      summary: Email Signup
      description: >-
        Create a pending account and email a verification code.


        202, not 201: the account exists but is not yet usable, and the caller's
        next step is

        somewhere else. No session token is returned — see the module note
        above.
      operationId: email_signup_account_signup_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailSignupRequest'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerificationRequiredResponse'
        '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:
    EmailSignupRequest:
      properties:
        email:
          type: string
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
        - email
        - password
      title: EmailSignupRequest
    VerificationRequiredResponse:
      properties:
        email:
          type: string
          title: Email
        verification_required:
          type: boolean
          title: Verification Required
          default: true
        expires_in:
          type: integer
          title: Expires In
        email_sent:
          type: boolean
          title: Email Sent
          default: true
        message:
          type: string
          title: Message
          default: >-
            Check your email for a six-digit code to finish creating your
            account.
      type: object
      required:
        - email
        - expires_in
      title: VerificationRequiredResponse
      description: >-
        Sign-up succeeded but the account is inert until the emailed code is
        answered.


        Deliberately carries NO session token: that is the whole point of the
        gate. The account

        row exists, holds zero credits, and cannot mint a key until
        ``/account/verify-email``.
    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.

````