Validate a Device Key
GET /api/verify-device-key
Checks that the Bearer Device Key is valid and returns minimal session info. Returns 401 UNAUTHORIZED if the key is unknown.
- Auth: Bearer Device Key
Request
curl https://app.rapiwa.com/api/verify-device-key \
-H "Authorization: Bearer YOUR_DEVICE_KEY"
Response
{
"success": true,
"valid": true,
"session": { "id": "1024", "phone_number": "8801234567890", "status": "connected" }
}