cURL
curl --request POST \ --url http://localhost:18789/loglife/verify/send \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "phone": "+15551234567" } '
{ "sent": true }
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.
The API key configured in openclaw.json under plugins.entries.loglife.config.apiKey
Phone number to send the code to
"+15551234567"
Code sent successfully
true