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.
In order to follow the steps in this tutorial, you must have been accepted into the WhatsApp Business API limited public preview or have signed up with one of our partnered Business Solution Providers for integration.
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.
Once you have the WhatsApp Business API client up and running, you can register your phone number by sending an API call to the
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.
You can 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.