Skip to content
Leepr by Exlink

Communication

Set up WhatsApp with Twilio and Meta

Last updated:

This article explains the Twilio and Meta side of WhatsApp for a first-timer: who does what, what to prepare, how to get your own number and why Meta reviews your messages; the Leepr side is in WhatsApp.

Who is who

Meta owns WhatsApp and runs the WhatsApp Business Platform, the part businesses use through software; it sets the rules. Twilio is one of the companies Meta lets businesses go through (Meta calls them Solution Partners, also Business Solution Providers), and the one Leepr works with. Your agency has an account with Twilio, Twilio has the relationship with Meta, and Leepr talks to Twilio.

CompanyWhat it doesWhat it bills you
MetaVerifies your business, reviews display names and templates, sets sending limitsA charge per delivered message, collected by Twilio
TwilioGives you your WhatsApp sender and carries every messageIts own fee per message, plus Meta’s charges passed on
LeeprSends and receives the messages and submits your templates through TwilioNothing for WhatsApp (What WhatsApp costs)

What you need before you start

Everything but business verification is needed during the sign-up itself.

  • An upgraded Twilio account. A new Twilio account is a trial, which cannot register a WhatsApp number or use templates. Upgrading (Upgrade in the Twilio Console) means adding your address and payment details and loading a starting balance.
  • A Facebook account with admin access to your business portfolio: Meta’s part of the sign-up opens in a Facebook login window.
  • A Meta business portfolio: where your business’s pages, accounts and people are managed in Meta’s business tools (Meta Business Suite). It used to be called Business Manager. If you have none, you create one during the sign-up.
  • A phone number for WhatsApp, bought from Twilio or your own. It must not be registered on WhatsApp already, in the WhatsApp or WhatsApp Business app (if it is, delete that WhatsApp account on the phone first), and must receive an SMS or voice call for the verification code: a number behind a phone menu will not work. Short codes are not accepted.
  • A display name: the business name people see on your WhatsApp profile. Meta reviews it, so it must plainly be your business, as your website or legal name shows it. Not accepted: a generic word or place on its own (“Education”, “London”), “Official” or “Verified”, any mention of WhatsApp or Meta, slogans or offers, a web or email address. “Bright Path Education” passes; “Study Abroad – Free Consultation” does not.
  • Business verification with Meta (this one can wait): Meta checks your legal name, address, phone number and website (on https), exactly as registered, and may ask for an official document such as a business licence or articles of incorporation.

Meta lets you send before you are verified, to at most 250 people a day (sending limits). Twilio asks you to verify before going live, and only verified businesses get more than two senders: start it the day you sign up.

Try it first with the sandbox

Twilio’s WhatsApp sandbox is a shared test number, +1 415 523 8886, shown with Twilio’s logo. Only phones that have joined it receive its messages: send “join” and your sandbox’s code from your phone. A join lasts three days. The sandbox sends only Twilio’s ready-made templates, so in Leepr you can test free text inside the 24-hour window, not your own templates. It is for testing only, never for students or families.

In the Twilio Console, open Messaging → Try it out → Send a WhatsApp message. The page has two tabs: Sandbox, with the number and your join code, and Sandbox settings, where the URLs go.

To connect the sandbox to Leepr:

  1. In Integrations → WhatsApp & SMS, paste your Account SID and Auth token (where to find them), type +14155238886 as the WhatsApp sender and click Verify and connect.
  2. Click Copy under Inbound URL.
  3. On the Sandbox settings tab, under When a message comes in, replace Twilio’s demo address, which is there by default, with Leepr’s URL, keep the method POST and click Save. In the sandbox the URL goes here, not on a sender.
  4. Join the sandbox from your phone, write it any message, then use Send a test message in Leepr. If your phone gets “You said: … Configure your WhatsApp Sandbox’s Inbound URL to change this message” back, step 3 is not saved: nothing reaches Leepr until it is.

Error 63015 means the phone has not joined your sandbox, or joined more than three days ago. To move to your own number later, disconnect the sandbox in Leepr and connect your sender.

Go live: your own WhatsApp sender

A sender is the WhatsApp number your messages come from. Twilio calls this Self Sign-up; the window it opens is Meta’s Embedded Signup. Use one browser and keep both windows open.

  1. In the Twilio Console, open Messaging → Senders → WhatsApp Senders and click Create new sender.
  2. Under Select a phone number to register, choose a Twilio number or your own and click Continue.
  3. Click Continue with Facebook. Log in, review the permissions and click Get started.
  4. Choose your business portfolio, or create one, and click Next.
  5. Create a WhatsApp Business Account: Meta’s container for your numbers and templates. For your first sender, choose Create a new WhatsApp Business profile and click Next.
  6. Enter the account name, your display name and your business category.
  7. Enter the code Meta sends by SMS or voice call. For a Twilio number, Twilio shows an SMS code in the Console; a voice code needs extra steps from Twilio’s documentation and can take up to 10 minutes.
  8. On Review Twilio’s access request, click Confirm.
  9. Wait a few minutes. The new sender appears under WhatsApp Senders; when its status is Online, it is ready.

How long each wait is. The number takes minutes. Meta reviews the display name later, when your business becomes eligible for higher limits; if it is rejected, Twilio says the number is held to 250 business-started messages a day and may be disconnected. Business verification takes longest: up to 14 business days, says Meta, and several weeks in some regions, says Twilio.

Where to verify your business. In Meta Business Suite, open Security Center and click Start verification (you need full control of the business portfolio). Enter your details exactly as registered and confirm by email, phone, text, WhatsApp message or your website’s domain.

Then paste Leepr’s inbound URL on the sender

Connect the new sender in Leepr and paste its inbound URL into Twilio, as in Paste the inbound URL into Twilio; without it, replies never reach Leepr. SMS lives on the same page, Integrations → WhatsApp & SMS, and uses the same Twilio account with one of its phone numbers (SMS). A Messaging Service (a Twilio grouping of senders) is usually not needed: fill it in only if Twilio put your sender in one.

Why Meta approves templates, and what it wants

A business may write freely to someone only within 24 hours of their last message. Anything else, including a first message, must be a template: a message Meta has approved in advance, with variables for each person’s details. That lets Meta check that businesses are not spamming people.

Leepr offers two categories:

Utility: about something the person asked for or is doing. No promotion of any kind. For example:

  • “Hi [first name], we still need a copy of your passport to complete your application. Please send it by [date] so we can submit it on time.”
  • “Hi [first name], your interview with [school] is confirmed for [date and time]. Reply to this message if you need to change it.”

Marketing: news, offers and invitations. For example:

  • “Hi [first name], applications for the [programme] intake are now open. Would you like us to check your eligibility? Reply and a counsellor will get back to you.”
  • “Hi [first name], meet universities from five countries at our study abroad fair in [city] on [date]. Reply to save your place.”

What gets a template rejected:

  • a variable at the very start or end (put words or punctuation on both sides);
  • vague text, or too many variables for its length;
  • promotional words in a Utility template (Meta approves it as Marketing instead, or rejects it);
  • content against WhatsApp’s Business or Commerce policies, or asking for sensitive identifiers such as full card or ID numbers;
  • a copy of another template, more than 10 emojis, the wrong language, or a link that is not a full, working web address.

Leepr sends your merge fields’ names as the example values Meta asks for. Each language is reviewed on its own.

Most templates are decided within minutes; Meta says up to 24 hours, and Twilio up to 48 when a person reviews it. After approval, Meta can still move a Utility template to Marketing (usually with a day’s notice), pause it after negative feedback or low read rates, or disable it.

How to submit templates from Leepr: Approved templates.

Opt-in and sending limits

Opt-in. Meta requires people’s agreement before you message them: on your website’s form, by SMS, by phone, or in person or on paper. It must name your agency and say clearly that they agree to receive its messages; it need not mention WhatsApp if your local law allows. Say what you will send and how to stop it. In Leepr, a Consent box on your form records marketing consent (Forms and lead capture), and sequences and workflows can send WhatsApp only to people with it (WhatsApp in sequences and workflows).

Messaging limits. Meta limits how many different people your business portfolio, across all its numbers, can message outside an open 24-hour window, in any rolling 24 hours:

  • A new portfolio starts at 250.
  • It can rise to 2,000 once you verify your business, or after you send 2,000 delivered messages outside the window to different people within 30 days with high-quality templates.
  • Then to 10,000, 100,000 and unlimited by itself, within 6 hours of using half your limit over 7 days with high-quality messages.

Quality rating. Each number is rated on how people reacted to your messages over the last 7 days, mainly blocks (with reasons such as “Didn’t sign up” or “Spam”) and reports: Green high, Yellow medium, Red low, shown in WhatsApp Manager under Phone numbers. A low rating stops your limit rising, templates people keep blocking get paused or disabled, and heavy negative feedback can get your account restricted or removed. Writing only to people who asked is the surest way to stay green.

What it costs, in words

  • Twilio charges a fee on every WhatsApp message, sent or received. At the time of writing (October 2026), Twilio’s WhatsApp pricing page gives it as $0.005 a message.
  • Meta charges per delivered message, not per conversation; it moved to this on 1 July 2025. The rate depends on the message’s category and the country of the person’s number. Messages people send you cost nothing on Meta’s side.
  • Replies inside the 24-hour window: since 1 October 2026, each number has 1,000 free a month on Meta’s side, and Meta charges for the rest. Twilio’s pricing page has the rates by country.
  • Leepr charges nothing for WhatsApp.

A checklist to finish

  • Twilio account upgraded.
  • Business portfolio ready, with your admin access.
  • Business verification started in Security Center.
  • Phone number chosen, and not registered on WhatsApp.
  • Display name that follows Meta’s guidelines.
  • WhatsApp sender created and Online in Twilio.
  • Sender connected in Leepr with your Account SID and Auth token.
  • Inbound URL pasted on the sender in Twilio.
  • Test message received on your phone.
  • First template approved by Meta.
  • Consent recorded for the people you will message first.

Troubleshooting

  • The number is already on WhatsApp: delete that WhatsApp account on the phone, then register it again.
  • The verification code never arrives: try a voice call instead of SMS; a number behind a phone menu cannot receive it.
  • Display name rejected: change it in WhatsApp Manager, following the rules above.
  • Business verification pending for days: up to 14 business days is normal. Check your details match your registration exactly.
  • Sender not Online after a few minutes: check Twilio’s error log in the Console, then contact Twilio support.
  • Template rejected: read Meta’s reason in Leepr, fix the text using the list above, save and Resubmit.
  • Error 63015: the phone has not joined your sandbox, or its join expired.
  • Your phone gets “You said: …” back from the sandbox: the sandbox still has Twilio’s demo address. Replace it on the Sandbox settings tab (Try it first with the sandbox).
  • Error 63016: you wrote free text outside the 24-hour window; send an approved template (Twilio’s explanation).
  • Messaging limit reached: wait out the rolling 24 hours, and verify your business to raise the limit.