Email OTP
Preview मेंEmail से verify करें, एक असली email network पर.
Email verification एक email address पर one-time code भेजता है — कोई phone number ज़रूरी नहीं, और यह channel हर उस व्यक्ति तक पहुँचता है जिसके पास inbox है. Bird इसे उसी infrastructure पर भेजता है जो बड़े पैमाने पर transactional email ले जाता है, किसी shared sender या आपके अपने verified domain से, और recipient के हिसाब से इसे check करता है.
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.
एक अकेला email address पास करें. कोई phone number नहीं, कोई country नहीं — email वह एकमात्र channel है जो हर उस व्यक्ति तक पहुँचता है जिसके पास 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 करें.
उसी email address से code confirm करें जिस पर वह गया था — रखने के लिए कोई verification id नहीं, और create को दोबारा post करने पर session के भीतर code फिर से भेज दिया जाता है.
किसी address पर भेजें, उसी address से check करें.
Email verification किसी भी दूसरे channel जैसे ही वही दो calls हैं — बस recipient का रूप phone number से बदलकर 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 Bird Verify का एक channel है: SMS और WhatsApp इसके साथ आते हैं, और voice rolling out हो रहा है — सब उन्हीं दो endpoints पर.