Bird 与 Prelude
将图标拖到圆点上。使用方向键移动已聚焦的图标。按 Escape 取消拖动。
深受工程和产品团队信赖, 助力其在全球范围内交付。
哪种验证流程适合你的应用?
何时适合使用 Prelude
Prelude's verification creation response returns a risk status such as allowed, retry, challenged, blocked, or shadow-blocked based on device and network signals. If your signup flow branches on that fraud verdict before sending a passcode, keep that risk check in your stack when moving code delivery.
Prelude supports RCS, Viber, Zalo, and silent network authentication alongside SMS, WhatsApp, Telegram, and voice calls. Bird's channel routing plan currently delivers over SMS, WhatsApp, email, and Telegram while voice OTP rolls out, so teams relying on RCS, Viber, Zalo, or silent network checks should plan for those channels before switching.
Prelude's verification request accepts per-request template IDs, locales, sender IDs, custom passcodes, and automatic fallback caps when enabled on the account. Review which of those per-request overrides your app uses before mapping them to Bird's workspace-level sender and routing rules.
为什么选择 Bird Verify?
Bird addresses each verification by the recipient, accepting an email address, a phone number, or both in a single request. Your workspace country plan selects the available channels, and each request can narrow or reorder that list.
Bird's verification check response tells your application whether the code matched, why a check failed, and how many attempts remain so your UI can show a helpful error message.
Bird's hosted MCP server and CLI let engineers and AI agents start verifications, check codes, and trigger next-channel fallbacks using the same recipient phone number or email address.
两个 Verify API 如何比较?
Compare how each API handles recipient addressing, retry safety, channel fallback, and risk checks.
| 功能 | Bird | Prelude | 谁更胜一筹? |
|---|---|---|---|
| 创建请求 | BirdSend a JSON request with a bearer key passing the recipient's email address, phone number, or both. | PreludeSend a JSON create-or-retry request with a bearer key, target type, and recipient value. Email verification requires account enablement. | 持平 |
| 安全重试 | BirdAn idempotency header prevents duplicate sends on network retries, while recipient resends reuse the active session and send a fresh code after the cooldown. | PreludeRepeating the create call within an active verification window triggers a retry attempt subject to cooldown spacing and attempt caps. | 持平 |
| 验证失败时返回的信息 | BirdReturns the verification outcome, failure reason, and remaining attempt count so your UI can distinguish a typo from a locked session. | PreludeReturns a check status of success, failure, or expired-or-not-found, plus transaction-binding mismatch statuses for PSD2 flows. | Bird 胜出 |
| 验证码可送达的渠道 | BirdSMS, WhatsApp, email, and Telegram governed by your per-country routing plan, with voice OTP rolling out. | PreludeSMS, RCS, WhatsApp, Telegram, Viber, Zalo, and silent network checks, plus voice call delivery. | Prelude 胜出 |
| 投递事件 | BirdWorkspace webhook subscriptions emit separate session and delivery attempt events signed with Standard Webhooks. | PreludePer-request callback URLs receive webhook events signed with RSASSA-PSS SHA-256 once a signing key is created. | 持平 |
| 回退控制 | BirdFailed deliveries advance the country plan automatically, and the next-channel endpoint lets users request a backup channel while keeping earlier codes valid. | PreludeAn automatic fallback cap limits automatic channel retries when enabled on the account, with manual retries resetting that allowance. | 持平 |
| 托管 MCP 服务器 | BirdAn authenticated hosted MCP server and the Bird CLI run verification creation, code checks, and channel fallback. | PreludeServer SDKs including the Node SDK expose verification creation and code checks for backend code. | Bird 胜出 |
| 验证码长度 | BirdSet the passcode digit length per request or fall back to your workspace default. | PreludeSet a 4-to-8-digit passcode size per request or use the dashboard default. | 持平 |
| 风险结果 | BirdEnforces per-recipient send caps, check attempt limits, and country allowlists without returning a device-level fraud verdict on creation. | PreludeReturns a fraud status and risk factors when device or network signals trigger a challenged, blocked, or shadow-blocked decision. | Prelude 胜出 |
谁控制下一次投递尝试?
Bird builds the delivery sequence from the recipient and destination country. When a message fails to deliver, or when the user clicks to try another channel, Bird steps forward to the next configured channel through automatic or user-requested channel advancement, sending a fresh passcode while keeping earlier codes valid until the session expires.
In Prelude, your app submits the target and device signals, receives a fraud verdict, and enters an active verification window where Prelude's lifecycle guide treats another create call for the same phone number as a retry. Prelude's automatic fallback cap bounds how many extra automatic attempts run after the initial send, and setting it to zero turns off automatic retries so your application controls resends explicitly.
各响应中的 success 表示什么?
Bird's verification check endpoint returns an explicit boolean indicating whether the passcode was accepted, alongside a failure reason and remaining attempt count when a user enters the wrong digits. Persist the verified state in your database as soon as the check succeeds, because checking a completed session again returns a not-found error.
In Prelude, a successful verification creation response confirms that the verification window opened and the message was dispatched, so your application must wait for a successful code check response before signing the user in. Prelude's check endpoint also supports transaction-bound passcodes for PSD2 payment confirmation when your flow binds OTPs to payment amounts or payees.
哪些风险信号和 webhook 检查必须在迁移中保留?
Prelude's create endpoint accepts a dispatch identifier from its frontend SDK, and its fraud protection guide combines server-side IP and user-agent headers with device signals to return challenged or shadow-blocked outcomes. Audit where your signup or login controller branches on those statuses before switching providers.
Bird's built-in abuse guardrails enforce resend cooldowns, per-recipient send limits, and maximum check attempts, while leaving device-fingerprinting or signup risk scoring to your application.
Prelude signs webhook deliveries using RSASSA-PSS SHA-256 headers, whereas Bird signs workspace webhooks with Standard Webhooks. Swap the signature verification middleware when you cut over your webhook handler.
验证和发送如何计费?
There's no plan, seat, or platform fee for Bird Verify. Each delivery is charged at that channel's rate for the destination. A resend, or a fallback that moves delivery to a second channel, is a new send and a new charge.
A verdict compares only published delivery rates with the same channel, destination, currency, billing unit and sender type. Per-success verification fees and per-send charges are Not comparable: your own sends and successful checks determine usage.
Pricing verdict: Not comparable
| 已发布项目 | Prelude | Bird 计费政策 |
|---|---|---|
| Pay As You Go Per verification | 0.032 € Per verification plus message costs. Monthly billing and 10,000 verifications selected. as published | There's no plan, seat, or platform fee for Bird Verify. 通道发送单独计费。请查看以下实时通道费率。 |
| Startup Per month | 360 € Per month plus message costs. Monthly billing and 10,000 verifications selected. as published | There's no plan, seat, or platform fee for Bird Verify. 通道发送单独计费。请查看以下实时通道费率。 |
| Enterprise Custom volume | Contact sales Contact sales for committed volume pricing. as published | There's no plan, seat, or platform fee for Bird Verify. 通道发送单独计费。请查看以下实时通道费率。 |
| SMS (US) Per SMS Destination: US | €0.0043 EUR Message cost for the selected United States destination. Verification charges are separate. as published | There's no plan, seat, or platform fee for Bird Verify. 通道发送单独计费。请查看以下实时通道费率。 |
| WhatsApp (US) Per message Destination: US | €0.0028 EUR Message cost for the selected United States destination. Verification charges are separate. as published | There's no plan, seat, or platform fee for Bird Verify. 通道发送单独计费。请查看以下实时通道费率。 |
| RCS (US) Per message Destination: US | €0.00 EUR Message cost for the selected United States destination. Verification charges are separate. as published | There's no plan, seat, or platform fee for Bird Verify. 通道发送单独计费。请查看以下实时通道费率。 This method is outside Bird’s documented Verify channel plan. |
| Telegram (US) Per message Destination: US | €0.012 EUR Message cost for the selected United States destination. Verification charges are separate. as published | There's no plan, seat, or platform fee for Bird Verify. 通道发送单独计费。请查看以下实时通道费率。 |
| Viber (US) Per message Destination: US | €0.007 EUR Message cost for the selected United States destination. Verification charges are separate. as published | There's no plan, seat, or platform fee for Bird Verify. 通道发送单独计费。请查看以下实时通道费率。 This method is outside Bird’s documented Verify channel plan. |
Bird 已发布的 SMS 通道费率
Bird's SMS catalogue rates are shown by sender type, per message segment. Carrier fees and sender costs may apply separately. These channel rates are not a total verification quote. SMS pricing; carrier fees.
| 目的地 | 发送方类型 | 每个 SMS 分段 |
|---|---|---|
| US | long_code | EUR 0.003 |
| US | long_code | USD 0.0035 |
| US | toll_free | EUR 0.003 |
| US | toll_free | USD 0.0035 |
| US | short_code | EUR 0.006 |
| US | short_code | USD 0.007 |
Bird email pricing and Bird WhatsApp pricing publish the other delivery channels.
如何发起一次验证?
Prelude's Node SDK takes a typed target object and code size option. Bird's create endpoint takes the recipient object and optional code length directly.
const response = await fetch("https://api.prelude.dev/v2/verification", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PRELUDE_API_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
target: { type: "phone_number", value: "+15551234567" },
options: { code_size: 6 },
}),
});
const verification = await response.json();
console.log(verification.id, verification.status);
import { BirdClient } from "@messagebird/sdk";
const bird = new BirdClient({ apiKey: process.env.BIRD_API_KEY! });
const { data, error } = await bird.verify.verifications
.create(
{
to: { phone_number: "+15551234567" },
options: { code_length: 6 },
},
)
.safe();
if (error) console.error(error.message);
else console.log(data.id, data.status);
切换前需要更改什么?
Audit the delivery channels, fraud risk branches, custom templates, sender IDs, and transaction-bound checks your app uses today. Follow the Prelude migration guide to map create and check calls, and plan an alternative if your flow depends on voice calls, RCS, Viber, Zalo, or silent network authentication.
Send new verification requests through Bird while routing in-flight code checks to whichever provider issued the passcode until older sessions expire. Update your webhook signature verifier, persist verified check outcomes in your database, and review Bird's sender and message templates before full cutover.
选择前应检查什么?
Bird 是 SMS 和邮件的 Prelude 替代方案吗?
重试会启动一个新的 Prelude 验证吗?
每次重试时能调整 Prelude 的回退上限吗?
下一步
从迁移指南开始,然后比较支持的渠道和计费单位。
- 从 Prelude 迁移 VerifyMap create and check fields, risk decisions, and delivery webhooks before moving your flow.
- Bird 与 Twilio Verify 对比Compare recipient-addressed verification, attempt feedback, and channel fallback against Twilio Verify.
- Verify 对比Compare verification APIs across channel coverage, retry safety, and fallback rules.
- Verify 定价Review Bird's per-send billing model and published country delivery rates.
- Bird AI 智能体Run verification and channel operations through Bird's authenticated hosted MCP server.
让验证成为产品的一部分。
与我们的团队讨论您的渠道、验证流程和预期流量。