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

# Resend Verification

> Resend the email-verification link for a local user.

Always returns the same generic message regardless of whether the email
address is registered, to prevent user enumeration by an attacker.

Args:
    payload: Email address and reCAPTCHA token.
    request: Raw HTTP request for IP extraction.
    db:      Database session.

Returns:
    A generic confirmation message (identical for found and not-found cases).

Raises:
    HTTPException 400: CAPTCHA failure.



## OpenAPI

````yaml /openapi.json post /api/auth/resend-verification
openapi: 3.1.0
info:
  title: HAI-Co² API
  description: Human-AI Co-Construction reference implementation.
  version: 0.1.0
servers:
  - url: https://haico.gr
    description: Production
  - url: https://dev.haico.gr
    description: Development
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /api/auth/resend-verification:
    post:
      tags:
        - Auth
      summary: Resend Verification
      description: |-
        Resend the email-verification link for a local user.

        Always returns the same generic message regardless of whether the email
        address is registered, to prevent user enumeration by an attacker.

        Args:
            payload: Email address and reCAPTCHA token.
            request: Raw HTTP request for IP extraction.
            db:      Database session.

        Returns:
            A generic confirmation message (identical for found and not-found cases).

        Raises:
            HTTPException 400: CAPTCHA failure.
      operationId: resend_verification_api_auth_resend_verification_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResendVerificationRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ResendVerificationRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        captcha_token:
          type: string
          title: Captcha Token
          default: ''
      type: object
      required:
        - email
      title: ResendVerificationRequest
      description: Request to resend an email-verification link.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````