Get Previous Device Name

View All WhatsApp Number Validation & Profile Lookup APIs →

Fetch the previous-device name (wa_old_device_name) from WhatsApp registration metadata when the account is eligible for wa_old re-auth. Two-step flow: call Check WhatsApp Account Exists first; only call this when hasExtra lists "waOldDeviceName". Pass the returned userHash here — the number is resolved server-side. Invalid/expired userHash is rejected without hitting upstream. When the field is absent, waOldDeviceName is null and message explains why.

API Features

Previous-device name Returns wa_old_device_name when the account carries re-auth metadata
Gateway-validated userHash Invalid or expired tokens are rejected before any upstream call
Cache-aware Upstream is cache-first; response includes cached flag and age when served from cache

Live API Demo

GET /api/project/whatsapp/get-wa-old-device-name

API Response (JSON)

{}
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

View Subscription Plans →