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

# Start email OTP

> Send a passwordless email sign-in link and one-time code (via Supabase Auth) so a person can authorize an agent without a password.



## OpenAPI

````yaml https://api.foreverbetter.xyz/openapi.json post /auth/otp/start
openapi: 3.1.0
info:
  title: ForeverBetter API
  version: 0.4.8
  description: >-
    ForeverBetter API and MCP-compatible service for genetics, biomarkers,
    wearables, lab locator handoffs, and dashboard specs.
servers:
  - url: https://api.foreverbetter.xyz
security:
  - bearerAuth: []
paths:
  /auth/otp/start:
    post:
      summary: Start email OTP
      description: >-
        Send a passwordless email sign-in link and one-time code (via Supabase
        Auth) so a person can authorize an agent without a password.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - email
              additionalProperties: false
              properties:
                email:
                  type: string
                  format: email
                  description: Email address of the person authorizing access.
                should_create_user:
                  type: boolean
                  default: false
                  description: >-
                    Pass true to create the account when this email has never
                    signed in before. The default false rejects first-time
                    users.
                email_redirect_to:
                  type: string
                  description: >-
                    Optional URL the emailed sign-in link redirects to. Agents
                    that collect the 8-digit code instead can omit this.
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````