Email OTP
Preview मेंEmail से verify करें, एक असली email network पर.
Email verification sends a one-time code to an email address: no phone number required, and the channel reaches anyone with an inbox. Bird sends it on the same infrastructure that carries transactional email at scale, from a shared sender or your own verified domain, and checks it by recipient.
import { BirdClient } from "@messagebird/sdk";
const bird = new BirdClient({ apiKey: process.env.BIRD_API_KEY! });
// Send the code, then check it by recipient.
await bird.verify.verifications.create({
to: { email_address: "ada@example.com" },
}).safe();
const { data } = await bird.verify.verifications.check({
to: { email_address: "ada@example.com" },
code: userInput,
}).safe();
वह verification channel जिसे किसी phone number की ज़रूरत नहीं.
Bird Verify API पर Email एक first-class channel है: किसी email address के साथ verification post करें और हम code को shared Authifly sender, otp@verify.authifly.com, या आपके अपने verified domain से भेजते हैं. यह country-independent है, इसलिए हर जगह एक जैसा काम करता है, और यह उसी network पर चलता है जिसे Bird बड़े पैमाने पर transactional email के लिए चलाता है.
Email verification पर आपको क्या मिलता है.
हर send में, built-in.
- 01
Email से addressed.
Pass a single email address. No phone number, no country: email is the one channel that reaches anyone with an inbox.
- 02
Shared या आपका अपना domain.
shared Authifly sender (otp@verify.authifly.com) से out of the box भेजें, या उस domain पर override करें जिसे आपने sending के लिए पहले से verify कर रखा है.
- 03
एक तैयार OTP email.
Code एक साफ़, mobile-ready default template में आता है: code सबसे आगे, एक expiry note, और इसे कभी शेयर न करने की याद. ship करने से पहले design करने के लिए कुछ नहीं.
- 04
Bird email network पर.
आपके codes उसी delivery infrastructure पर चलते हैं जिस पर आपके product की transactional email: signed, routed, और monitored.
- 05
Server-generated, hashed codes.
default में 6-digit code (4–10 configurable), एक cryptographic random source से generate किया गया और सिर्फ़ HMAC के रूप में store किया गया.
- 06
Recipient के हिसाब से check करें.
Confirm the code by the email address it went to: no verification id to keep, and re-posting the create resends within the session.
किसी address पर भेजें, उसी address से check करें.
An email verification is the same two calls as any other channel: only the recipient shape changes from a phone number to an email address.
await bird.verify.verifications.create({
to: { email_address: "ada@example.com" },
}).safe();
const { data } = await bird.verify.verifications.check({
to: { email_address: "ada@example.com" },
code: userInput,
}).safe();
// data.result is true or false; data.reason elaborates ("expired", "already_verified", …)
Email OTP FAQ
मुझे SMS के बजाय Email से कब verify करना चाहिए?
क्या मैं अपने अपने domain से भेज सकता हूँ?
क्या आप OTP भेजने से पहले suppression list check करते हैं?
Codes कैसे store किए जाते हैं?
मेरे users को code किससे आया दिखता है?
बाकी का Verify platform
एक API, keys का एक set. बाकी capabilities को explore करें.
आपके verification codes उस network पर जो आपकी email चलाता है.
Email is one channel of Bird Verify: SMS and WhatsApp ship with it, and voice is rolling out, all on the same two endpoints.