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

# Check Verification Code

> Checks whether the provided code matches the one sent to the given phone number. Uses timing-safe comparison. Codes are single-use — deleted after successful verification.



## OpenAPI

````yaml POST /loglife/verify/check
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/check:
    post:
      summary: Validate verification code
      description: >-
        Checks whether the provided code matches the one sent to the given phone
        number. Uses timing-safe comparison. Codes are single-use — deleted
        after successful verification.
      operationId: verifyCheck
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - phone
                - code
              properties:
                phone:
                  type: string
                  example: '+15551234567'
                code:
                  type: string
                  description: 6-digit verification code
                  example: '482910'
      responses:
        '200':
          description: Verification result
          content:
            application/json:
              schema:
                type: object
                properties:
                  verified:
                    type: boolean
                  error:
                    type: string
                    description: Present when verified is false
        '400':
          description: Missing required fields
        '401':
          description: Unauthorized
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        The API key configured in openclaw.json under
        plugins.entries.loglife.config.apiKey

````