Skip to main content
POST
/
loglife
/
verify
/
check
Validate verification code
curl --request POST \
  --url http://localhost:18789/loglife/verify/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "+15551234567",
  "code": "482910"
}
'
{
  "verified": true,
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

The API key configured in openclaw.json under plugins.entries.loglife.config.apiKey

Body

application/json
phone
string
required
Example:

"+15551234567"

code
string
required

6-digit verification code

Example:

"482910"

Response

Verification result

verified
boolean
error
string

Present when verified is false