How to check if recipient number uses WhatsApp
1

Hi,

I'm working on an app that manages the jobs of a company that provides repair and replacement services for kitchen appliances in managed properties that are rented out.

One of their needs is to send text messages to the tenants to book a visit for repair or replacement.

My question is, how to use the API to check if the tenant is using WhatsApp, given their mobile number? If the tenant uses WhatsApp - the system sends a message via WhatsApp API, if not - the system sends a normal text message (SMS) using another provider's API.

Thank you!

Hristo
Asked about 6 months ago
Selected Answer
1

This is not possible.

The terms of use of the Business API require a Business to receive opt-in from a user before sending them messages on WhatsApp. When you build the workflow to receive this opt-in from users, you can directly confirm with them whether they use WhatsApp.

June 20 at 7:38 AM
Bar
Hristo

Then how do others provide such functionality? Like 2chat - https://developers.2chat.co/docs/API/WhatsApp/check-number

June 24 at 3:53 AM
Hristo

Also, how will I send opt-in request if the number doesn't use WhatsApp? How do I know if they can receive it?

June 24 at 3:55 AM
Bar

Your opt-in should be done off of WhatsApp, on whichever platform you currently use to collect user contact details and gain permissions to leverage this info for various purposes.

June 24 at 2:50 PM
Hristo

Meaning I need to ask the client if they have WhatsApp or not. I can't check in any way if they are using WhatsApp or not, before sending any messages? If that's correct, then how 2chat does it?

July 2 at 10:14 AM