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

# Trigger Verification Email

> Triggers a new email verification code and sends it to the user's email.



## OpenAPI

````yaml /openapi.yaml get /v1/auth/verify-email
openapi: 3.1.0
info:
  title: px0 API
  description: >
    px[0] is an open-source prompt infrastructure toolkit for managing prompts
    in production. It replaces hardcoded prompt strings with versioned
    templates, in-process caching, and OpenTelemetry observability, so teams can
    iterate on prompts without touching application code. This is the OpenAPI
    specification for all the public APIs of px0.
  version: 1.0.0
servers:
  - url: http://localhost:3000
    description: Local development server
security: []
paths:
  /v1/auth/verify-email:
    get:
      tags:
        - Auth
      summary: Trigger Verification Email
      description: Triggers a new email verification code and sends it to the user's email.
      operationId: triggerVerificationEmail
      parameters:
        - name: email
          in: query
          required: true
          schema:
            type: string
            format: email
          description: The user's email address to trigger verification for.
      responses:
        '200':
          description: Verification email sent successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: verification email sent successfully
                required:
                  - message
        '400':
          description: Missing email, invalid email, or user already verified
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
              example:
                error: email is required
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
              example:
                error: user not found
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
              example:
                error: internal error
components:
  schemas:
    APIError:
      type: object
      properties:
        error:
          type: string
          example: invalid credentials
      required:
        - error

````