部分的な機能停止share-external
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
質問日時: 約5ヶ月前
選択された回答
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.

6月20日 7:38
Bar
Hristo

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

6月24日 3:53
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?

6月24日 3:55
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.

6月24日 14:50
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?

7月2日 10:14