Get Session Info
GET /api/info
Returns the connected session's identity as JSON.
- Auth: Bearer Device Key
Request
curl https://app.rapiwa.com/api/info \
-H "Authorization: Bearer YOUR_DEVICE_KEY"
Response
{
"connected": true,
"sessionId": "1024",
"id": "8801234567890:12@s.whatsapp.net",
"name": "Rapiwa",
"phone": "8801234567890",
"profilePic": "https://pps.whatsapp.net/…"
}
If the device isn't linked yet you'll get 409 SESSION_NOT_CONNECTED — scan the QR first.