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

# Send Verification Code

> Generates a 6-digit verification code and sends it to the specified phone number via WhatsApp. Rate limited to one code per phone number per 60 seconds. Codes expire after 5 minutes.



## OpenAPI

````yaml POST /loglife/verify/send
openapi: 3.1.0
info:
  title: LogLife Plugin API
  version: 0.1.0
  description: >-
    HTTP API exposed by the LogLife plugin running inside the OpenClaw gateway.
    All endpoints require Bearer token authentication.
servers:
  - url: http://localhost:18789
    description: Local development
security:
  - bearerAuth: []
paths:
  /loglife/verify/send:
    post:
      summary: Send verification code
      description: >-
        Generates a 6-digit verification code and sends it to the specified
        phone number via WhatsApp. Rate limited to one code per phone number per
        60 seconds. Codes expire after 5 minutes.
      operationId: verifySend
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - phone
              properties:
                phone:
                  type: string
                  description: Phone number to send the code to
                  example: '+15551234567'
      responses:
        '200':
          description: Code sent successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  sent:
                    type: boolean
                    example: true
        '400':
          description: Missing or invalid phone number
        '401':
          description: Unauthorized
        '429':
          description: Rate limited — code already sent within 60 seconds
        '502':
          description: Failed to send message via gateway
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        The API key configured in openclaw.json under
        plugins.entries.loglife.config.apiKey

````