GET
/api/on-whatsapp/{contact_identifier}Verifies if a given phone number, WhatsApp JID, or username handle is registered on WhatsApp.
Check if a contact is on WhatsApp
Verifies if a given phone number, WhatsApp JID, or username handle is registered on WhatsApp.
A WhatsApp JID can be a phone-number JID such as [email protected] or a LID JID such as 1234567890@lid.
For values containing @, URL-encode the @ symbol as %40 when passing it in the path.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| contact_identifier | string | Yes | Phone number, WhatsApp JID, or username handle to check. Examples: +1234567890, [email protected], 1234567890@lid, or @jane_doe. URL-encode @ as %40 in the path. |
Code Examples
curl "https://www.wasenderapi.com/api/on-whatsapp/{contact_identifier}"
-H "Authorization: Bearer YOUR_API_KEY"Response Examples
{
"success": true,
"data": {
"exists": true
}
}