This tutorial provides information on how to set up your WhatsApp Business API client, register your phone number, update your settings, and send a test message.
You will need:
After you verifying your business, your business will be reviewed for compliance with the WhatsApp Terms of Service and WhatsApp Commerce Policy. This step is initiated automatically. You can check the status of business verification and business review in the Settings tab of your WhatsApp business account in Business Manager. Business verification will show as Verified and Account Status will show as Approved upon approvals.
Note: If you wish to change the display name, you can only resubmit a new name two more times in the first 30 days.
When all reviews are completed, you will be able to view and access your base64-encoded certificate, which is necessary for registering your WhatsApp Business API client. We encourage you to register with an approved display name to start integration, before making any further changes to a display name. You can change your display name at any point after integration.
At its core, the WhatsApp Business API client is based on Docker.
The WhatsApp Business API client will run on any internet-connected machine that runs Docker. For instance, simple testing can be done on a laptop. For a production environment server, we recommend at least 250 GB SSD, 16 GB RAM, and 4 core CPU. HDD is not recommended as the I/O speeds will become bottlenecks under load.
In most cases, you should run the database on a separate physical server from the Coreapp and Webapp containers. The database server should only be a few milliseconds of latency away from the compute machine(s).
There are two ways to get started with the WhatsApp Business API:
Once the WhatsApp Business API client is running, you must be logged in as
admin to perform the rest of the setup steps.
You can make changes to the Application Settings once the WhatsApp Business API client is working. However, you don't get access to your WhatsApp Business API client's different profile settings until registration is complete.
As with the registration process, you can use either API calls or the Web Business Tool to change many of the WhatsApp Business API client's settings.
The Web Business Tool allows you to send four kinds of test messages: text, message template, document, or media. Note: You must have an approved message template in your WhatsApp business account in order to test that functionality.
You can also send test messages using the
messages endpoint. First, check the status of the phone number you are using for testing. You will need to send your WhatsApp account a message from the test phone number to enable the Customer Service window, which allows you to send any type of message within the 24-hours window (See Cut-off Control for details). Then, send a text message to your test phone number. If the message arrives it means that the installation has been successful. If it doesn't arrive, check your Webhook for notifications that may indicate any problems.
Start sending and receiving messages with internal employees first to check that the system is working.
Respond to all customers within 24 hours.
Use multiple phone numbers for development, testing, and production.
Check the FAQ before opening a Direct Support ticket.
Provide product feedback. Direct Support is the best channel for that.
Send duplicate notifications to multiple channels.
Use 1-800 numbers for testing.
Create a Business Manager only for WhatsApp integrations. Use an existing one if available.
If we detect that you have violated any of our guidelines or policies, we reserve the right to limit or remove your access to WhatsApp.