How to have users opt-in for WhatsApp Business API?
A user must first consent to receive messages in WhatsApp by opting in via WhatsApp or a third-party channel. This can be any channel your business uses to communicate with people — your WhatsApp thread, interactive voice response (IVR) flows, website, app, email, SMS, retail location, etc.
You must follow the below requirements when obtaining the opt-in:
1. You must clearly state that a person is opting in to receive messages from the business over WhatsApp
2. You must clearly state the business’ name that a person is opting in to receive messages from
3. You must comply with applicable laws
4. You should continue to optimize for the user experience while obtaining opt-in. For example, you should:
- Explicitly call out the types of messages a person is opting into (e.g., delivery updates)
- Avoid messaging people too frequently
- Provide instructions for how customers can opt-out and honor these requests
- Monitor your quality rating, especially when rolling out new opt-in methods
For details, you may refer to the opt-in requirement in WhatsApp Overview. You could also refer to this guide on how to Apply Opt-in Flow to Chatbot.