Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Guided Onboarding


(warning)

Warning

As of February 1st, 2024, Meta requires all new ISVs to use the WhatsApp Tech Provider Program in order to onboard their customers (i.e. End Clients) to WhatsApp. Twilio will no longer be enabling new customers to use the process described below.

Existing ISVs onboarding phone numbers for new or existing End Clients have until December 31, 2024 to transition to the program.

(information)

Info

Please make sure you first review "Getting started with WhatsApp" as the below instructions only apply to independent software vendors (ISVs) and direct customers who onboarded their first WhatsApp Sender prior to December 2022.

In this guide, we walk you through getting your Twilio phone number approved to be used with WhatsApp. This gives you the ability to receive and send messages from your Twilio number through the WhatsApp. If you want to use a non-Twilio number, please refer to Can I register my own phone number for WhatsApp on Twilio?(link takes you to an external page)

At a high level, to enable your Twilio number for WhatsApp, you must complete the following steps:

  1. Submit a WhatsApp Sender request in the Twilio Console
  2. Approve Twilio to message on your behalf in the Meta Business Manager console
  3. Submit your Meta Business Manager account for Business Verification
  4. (Twilio completes your WhatsApp Sender registration)

A note for ISVs

a-note-for-isvs page anchor

This guide includes instructions for both direct businesses and third-party vendors. Third party vendors include independent software vendors (ISVs) who are implementing WhatsApp on behalf of another company or brand. Under each step, look for the Note for ISVs subheading to find specific instructions.


Overview of the registration process

overview-of-the-registration-process page anchor

Before getting started

before-getting-started page anchor

Before getting started, please make sure your business meets the eligibility criteria for the WhatsApp Business Platform.

Can I use my own number?

can-i-use-my-own-number page anchor

If you want to use your number, and that number has never been registered with the WhatsApp Business API, then it can be used to register with Twilio. You will still need to follow the steps described in this guide.

Note for ISVs

When onboarding a new End Client, you will need to have the following information handy:

  • Client's Meta Business Manager ID - Your client will need to have created a Meta Business Manager prior to you submitting this form
  • Client's Legal Business Name
  • Client's Contact Email Address - This should be whoever will be filling out the form to accept the End Client terms

Step 1: Submit a Sender Profile and Message Templates

step-1-submit-a-sender-profile-and-message-templates page anchor

Submit the WhatsApp Sender

submit-the-whatsapp-sender page anchor

Navigate to the Messaging > Senders > WhatsApp Senders(link takes you to an external page) section in the Twilio Console. Click the WhatsApp Sender submission button to create a new sender profile. If you already have a WhatsApp sender, click "Create new Sender".

whatsapp-senders.
Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_14
// Download the helper library from https://www.twilio.com/docs/node/install
_14
// Find your Account SID and Auth Token at twilio.com/console
_14
// and set the environment variables. See http://twil.io/secure
_14
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_14
const authToken = process.env.TWILIO_AUTH_TOKEN;
_14
const client = require('twilio')(accountSid, authToken);
_14
_14
client.messages
_14
.create({
_14
from: 'whatsapp:+14155238886',
_14
body: 'Hello there!',
_14
to: 'whatsapp:+15005550006'
_14
})
_14
.then(message => console.log(message.sid));

Output

_24
{
_24
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_24
"api_version": "2010-04-01",
_24
"body": "Hello there!",
_24
"date_created": "Thu, 24 Aug 2023 05:01:45 +0000",
_24
"date_sent": "Thu, 24 Aug 2023 05:01:45 +0000",
_24
"date_updated": "Thu, 24 Aug 2023 05:01:45 +0000",
_24
"direction": "outbound-api",
_24
"error_code": null,
_24
"error_message": null,
_24
"from": "whatsapp:+14155238886",
_24
"num_media": "0",
_24
"num_segments": "1",
_24
"price": null,
_24
"price_unit": null,
_24
"messaging_service_sid": "MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_24
"sid": "SMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_24
"status": "queued",
_24
"subresource_uris": {
_24
"media": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/SMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Media.json"
_24
},
_24
"to": "whatsapp:+15005550006",
_24
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/SMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
_24
}


Once your Twilio number is connected to WhatsApp, you have many options.


Why does Twilio need to modify my Voice URLs?

why-does-twilio-need-to-modify-my-voice-urls page anchor

In order to register a phone number with WhatsApp, WhatsApp sends a pin code to the phone number to verify ownership. In situations where the phone number cannot receive SMS messages, Twilio may need to receive the pin code from an automated voice call from WhatsApp. This can happen when a Twilio phone number is not SMS-capable, or when WhatsApp is having trouble delivering SMS pin codes to the phone number. To receive a pin code via voice, Twilio may temporarily disable the phone number's webhook URL used for incoming calls. This process typically takes 5-15 minutes, and Twilio will revert the change to the previous URL. However, during this time, all calls to the number will be routed away from your system so that our team can intercept the pin code from WhatsApp.

If your WhatsApp sender ever goes offline after it is initially registered, the pin code verification process will need to be completed again.

If you would like us to coordinate with you when registering or re-registering a number on WhatsApp, please let us know by opening a support ticket.


Rate this page: