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
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
GET
/api/project/whatsapp/get-wa-old-device-name API Response (JSON)
{} Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Anti-fraud signal enrichment from device-migration metadata
- Account-history context for risk scoring
- Sparse enrichment after hasExtra advertises waOldDeviceName