Copy code

Updated June 2026 4 min read

Copy-code is the simplest OTP button. The user taps 'Copy code', pastes it into your login screen, and they're in. It works on every device, every time.

All guides
On this page

Quick facts

Delivery type
Copy-code
User action
Tap, then paste
Works on
Every device
Setup needed
None

WhatsApp copy-code is the simplest authentication delivery type. The OTP message shows a 'Copy code' button; the user taps it to copy the code, then pastes it into your login field. It needs no app setup, works on every device including iPhone and WhatsApp Web, and serves as the default fallback for one-tap and zero-tap.

In simple language: Copy-code is an OTP with a button that copies the code; the user pastes it into your login screen. It's the simplest delivery type and works everywhere.

Who should read this?

  • Anyone sending OTPs over WhatsApp
  • Teams without an app, or with web logins
  • Owners wanting the simplest setup

If you only ever set up one way to send OTPs, make it this one. Copy-code is the simplest, most reliable WhatsApp OTP — and it works for everyone.

Copy-code is the most basic of WhatsApp’s three OTP delivery types. The authentication message shows the code plus a “Copy code” button. The user taps it, the code lands on their clipboard, and they paste it into your login screen. No app integration, no special identifiers, no Android-only requirements — just a button that copies a code.

A WhatsApp copy-code authentication message with the Copy code button

Example: “Your login code is 591837” arrives with a “Copy code” button. The user taps it, switches to your app or website, and pastes the code.

The flow is short and predictable: the user requests a code → WhatsApp delivers the message with the code and a “Copy code” button → the user taps it (the code is now on their clipboard) → they paste it into your login field. Two small actions — tap, then paste — and that’s the trade-off for working everywhere.

Creating a copy-code template

You create a copy-code template with a POST request that names a few parts:

  • name — the template name (max 512 characters).
  • category — must be AUTHENTICATION.
  • language — the language code it’s approved in.
  • components — the body, footer and the copy-code button.

The message is built from preset pieces: the line “<VERIFICATION_CODE> is your verification code”, an optional security line (“For your security, do not share this code”), an optional expiry line (“This code expires in <NUM_MINUTES> minutes”), and the copy-code button itself.

A few properties you can set:

PropertyTypeWhat it does
Code expirationInteger1–90 minutes; if you skip it, the code is disabled after 10 minutes
Copy-code button textStringMax 25 chars; WhatsApp localizes it by default
Security recommendationBooleanAdds the “do not share this code” line when true
Time-to-liveIntegerOptional delivery timeout, in seconds

One limit to remember: URLs, media and emojis are not supported in authentication templates — keep it to the code and the safety note.

Sending a copy-code template

Once approved, sending is a simple POST request: name the approved template, pass the language code, and supply the verification code value for that user. WhatsApp formats the message with the copy-code button and delivers it.

Why it works everywhere

Copy-code relies only on copy and paste — something every phone and browser can do. It doesn’t depend on Android app-linking, a package name or a signing hash, the way one-tap and zero-tap do.

So copy-code works on:

  • Android phones
  • iPhones
  • WhatsApp Web and Desktop

That universality is why it’s the fallback for the other two. When one-tap or zero-tap can’t run — say the user is on an iPhone — the message quietly offers copy-code instead, so the user is never left without a way to get their code.

When to use copy-code

Reach for copy-code when:

  • You want the simplest setup. No app changes, nothing to configure — it just works.
  • Your users log in on the web or on iPhone. Those can’t use one-tap or zero-tap, so copy-code covers them.
  • You’re starting out. Ship copy-code first, then add one-tap or zero-tap later as upgrades for your Android app users.

Even teams that build the fancier delivery types keep copy-code underneath. It’s the dependable default — see Authentication Messages for how it fits with the other two.

Keep reading

Related questions people ask

What is WhatsApp copy-code authentication?

It's the simplest OTP delivery type. The WhatsApp message shows a 'Copy code' button; the user taps it to copy the code, then pastes it into your login screen. It needs no app setup and works on every device.

Does copy-code work on iPhone and WhatsApp Web?

Yes. Copy-code is the most universal delivery type — it works on Android, iPhone and WhatsApp Web, because it only relies on copy and paste, not any app linking.

Is copy-code the default WhatsApp OTP?

Effectively yes. It's the simplest option and the fallback for one-tap and zero-tap, so every authentication flow ends up relying on copy-code somewhere.

Key takeaways

  • Copy-code lets the user copy the OTP and paste it to log in.
  • It works on every device and needs no app setup.
  • It's the default fallback for one-tap and zero-tap.
Published: June 2026 Last reviewed: June 2026 Reviewed by: ChatMitra WhatsApp API Team

Put WhatsApp to work for your business

Start free on the Starter plan — pay just ₹0.20 per conversation, no subscription. Upgrade to Pro (₹999/month) when you need automation, or Enterprise for zero platform fees at scale.