Get Previous Device Name

View all WhatsApp Number Validation & Profile Lookup endpoints →

Fetch the available previous-device name (wa_old_device_name). 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. 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 A valid, unexpired userHash is required for this lookup
Cache-aware The response includes a cached flag and age when a cached value is returned

Live API Demo

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

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/whatsapp/get-wa-old-device-name?key=<API_KEY>&userHash=<userHash>'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Related operations

Guides

View Subscription Plans →