---
title: "如何在 WhatsApp 上发送 OTP 验证码？"
description: "如何在 WhatsApp 上发送 OTP 验证码？使用支持一键、零点击或复制验证码的身份验证模板。步骤、规则与定价详解。"
canonical: "https://omnichannels.ai/zh/answers/whatsapp-otp-authentication-template/"
language: "zh"
updated: "2026-10-10"
publisher: "BroadNet Technologies"
brand: "OmniChannels.ai"
---

# 如何在 WhatsApp 上发送 OTP 验证码？

Canonical: https://omnichannels.ai/zh/answers/whatsapp-otp-authentication-template/
Language: zh
Publisher: OmniChannels.ai by BroadNet Technologies

**简短回答:** 在 WhatsApp 上发送 OTP,必须使用已获批的身份验证模板。Meta 固定文案为“<code> is your verification code”,可附安全提示和有效期提醒，并提供一键填充、复制验证码或零点击，仅发送到用户主设备。

## 选择发送方式

| 方式 | 工作原理 | 是否需要修改 App |
|---|---|---|
| 复制验证码 | 用户点击按钮复制验证码，再粘贴 | 否 |
| 一键自动填充 | 按钮打开您的 Android 应用并传入验证码 | 是，Android |
| 零点击 | 您的 Android 应用无需点击即可接收验证码 | 是，Android |
| 键盘推荐 | 在 iOS 26 及更高版本上，iOS 会从通知中提供验证码 | 否 |

## 发送 WhatsApp OTP 的步骤

1. 创建身份验证模板，设置安全提示、有效期分钟数以及所需的按钮类型。
2. 等待 Meta 批准该模板。
3. 在后端生成验证码，并保存带有效期的哈希值。
4. 发送模板，将验证码作为正文变量传入；使用复制验证码时，还要作为按钮变量传入。
5. 通过 Webhook 跟踪送达，若消息未送达，则回退到短信。

## 定价与限制

自 2025 年 7 月 1 日起，Meta 按送达消息，依类别和收件人所在市场收费，认证是独立的类别。部分市场另有国际认证费率。请查看 Meta 定价页面了解最新费率。

没有 WhatsApp 的用户无法收到验证码，所以请保留短信或语音作为备用。OmniChannels.ai 借助作为 Meta 官方 Business Solution Provider 的 BroadNet,支持一键、零点击和复制验证码的身份验证模板。

## 官方来源

- [Authentication templates — Meta for Developers](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/authentication-templates/authentication-templates)
- [Pricing on the WhatsApp Business Platform — Meta for Developers](https://developers.facebook.com/documentation/business-messaging/whatsapp/pricing)

## 相关问题

- https://omnichannels.ai/zh/answers/sms-or-whatsapp-for-otp/
- https://omnichannels.ai/zh/answers/stop-sms-pumping-fraud/
- https://omnichannels.ai/zh/answers/whatsapp-business-api-cost/
- https://omnichannels.ai/zh/answers/whatsapp-marketing-vs-utility-template/

更新于: 2026-10-10