How to verify phone numbers in a form with a WhatsApp code

Verify phone numbers in any form with a WhatsApp one-time code. How it works, a 6-step setup with no Meta account, costs, and WhatsApp vs SMS vs email codes.

GuidesTapzy teamUpdated 9 min read

Get an AI summary

Share article
Copy the AI prompt or article link
In this guide
  1. Why WhatsApp codes?
  2. How it works
  3. Set it up in Tapzy
  4. WhatsApp vs SMS vs email
  5. What it costs
  6. Doing it yourself
  7. Tips for more completed forms

A phone number is only useful if it's real and belongs to the person who typed it. The surest way to know is to send a code to that number and ask for it back, and in much of the world the place people will actually see that code within seconds is WhatsApp.

This guide shows how a WhatsApp OTP form works, how to set one up in about five minutes without a Meta account, what it costs, and when SMS or email codes are the better choice.

The person types the code from WhatsApp, and the number is marked verified.

Why WhatsApp codes?

  • People see them. In countries where WhatsApp is the main messaging app, such as India, Brazil and Indonesia, a WhatsApp message gets read faster than an SMS among bank alerts and promotions.
  • No SMS registration. Business SMS often needs paperwork first. In India, for example, sender IDs and message templates have to be registered on the DLT platform before texts are delivered.
  • It proves more than the format. A pattern check stops typos; a code proves the person can receive messages on that number, so made-up and borrowed numbers can't get through.

How a WhatsApp-verified form works

StepWhat happens
1. Enter numberThe respondent types their number and taps Send code.
2. Code on WhatsAppA 6-digit code arrives on WhatsApp from the form's official sender.
3. Type it backThey have 5 minutes and 5 tries. A new code can be requested after 60 seconds, up to 3 times.
4. VerifiedThe number is marked verified. They have 24 hours to finish and submit the form.
5. Checked on submitThe server accepts the response only if that exact number was verified, so the step can't be skipped.

Set it up in Tapzy (about 5 minutes)

Step 1: Create a form

Sign up for Tapzy, go to Forms and create a form, or start from a template such as a contact form or lead quiz.

Step 2: Add a Phone field

Add a Phone question where you ask for contact details.

Step 3: Switch on WhatsApp codes

In the field's settings, switch on Verify with a one-time code and choose WhatsApp. There's no account, number or template to connect.

Step 4: Set the countries

Pick a default country and limit Accept numbers from to the countries you serve, so codes only go where you do business.

Step 5: Test it with your own number

Open the form, enter your number, tap Send code and type the code from WhatsApp. A test uses one credit.

Step 6: Publish and use verified responses

Share the form by link, QR code, embed or your bio page. Verified numbers are marked in your responses, and you can send only verified responses to Google Sheets, webhooks, your Meta Pixel and your email alerts.

WhatsApp vs SMS vs email codes

WhatsAppSMSEmail
ProvesPhone numberPhone numberEmail address
ReachesPeople with WhatsAppAny mobile phoneAnyone with an inbox
Setup in TapzyNoneYour Twilio accountNone
CostOne credit per codeBilled by Twilio per textNo per-code cost
Best forLeads and enquiries where WhatsApp is widely usedAudiences that don't use WhatsAppWhen you'll follow up by email

You can verify both on one form: a WhatsApp code on the phone question and an email code, or Google sign-in, on the email question.

What it costs

In Tapzy, every WhatsApp code uses one credit. Every account gets 10 free credits to try it, paid plans include credits each month, and you can buy more at any time. If WhatsApp can't deliver a code, for example because the number isn't on WhatsApp, the credit comes back. Code verification itself is part of Tapzy Pro; the pricing page has the details.

Doing it yourself

Sending WhatsApp codes from your own system is possible, but there's a lot to set up before the first message:

  • A Meta business account and a phone number registered on the WhatsApp Business Platform.
  • An approved authentication message template.
  • Meta's per-message charge for every code sent.
  • Code storage, expiry, retry limits and abuse protection on your server, plus the check at submit.

Worth it for an app with millions of sign-ins. For forms, a builder that already does it saves weeks. If you run campaigns on WhatsApp too, MYWA, which powers Tapzy's codes, is a WhatsApp Business API platform for that.

Tips for more completed forms

  • Say it up front. “We'll send a code to your WhatsApp” in the question's description stops people wondering why they need their phone.
  • Ask for the number once they're invested. Put the phone question after a few easy questions, not first.
  • Keep the default country right. Most failed codes are numbers entered without, or with the wrong, country code.
  • Watch who stops at the code. Partial responses show what people typed before they left, so you can see whether the code step loses anyone.
  • Offer another route on forms where many people don't use WhatsApp: SMS codes, or an email code instead.

Using this for leads? See verified property enquiries and admission enquiries, or the full OTP verification guide for email and SMS too.

Frequently asked questions

Can I send OTP codes on WhatsApp from a form?

Yes. In Tapzy, open a Phone field's settings, switch on Verify with a one-time code and choose WhatsApp. Respondents get a 6-digit code on WhatsApp and the form accepts the response only after they type it.

Do I need a WhatsApp Business account for WhatsApp OTP?

Not with Tapzy. Codes are sent from Tapzy's official WhatsApp sender, powered by MYWA.net, so there's no Meta account, phone number or template to set up. Building it yourself with the WhatsApp Business Platform does need all three.

How much does WhatsApp OTP verification cost?

In Tapzy, each code uses one WhatsApp credit. Every account gets 10 free credits, paid plans include credits every month, and you can buy more. A code that WhatsApp can't deliver gives its credit back.

What if a respondent doesn't use WhatsApp?

They can't receive a WhatsApp code. If many of your respondents don't use WhatsApp, verify their phone number by SMS through your own Twilio account, or verify their email address instead.

How long is a WhatsApp verification code valid?

Five minutes, with 5 wrong tries. Respondents can ask for a new code after 60 seconds, up to 3 times, and once verified they have 24 hours to submit the form.

Is WhatsApp OTP better than SMS OTP?

Where people use WhatsApp every day, such as India, Brazil, Indonesia and much of Europe, WhatsApp codes are read quickly and need no SMS sender registration. SMS reaches any mobile phone, so it suits audiences who don't use WhatsApp.

Tapzy form builder

Verify phone numbers on WhatsApp, with no setup.

Add a Phone field, switch on WhatsApp codes and publish. Every account gets 10 free WhatsApp credits to start.

  • Free forever
  • No credit card
  • Import from Typeform, Tally or Google Forms

Related guides

More practical guides on building forms that people finish.

All guides