Numbers

हर मैसेज के लिए सही sender।

Long codes, short codes, toll-free numbers, and alphanumeric sender IDs: provisioned, registered, and routed through one endpoint. The sender you send from decides throughput, cost, and which compliance regime applies.

send-otp.ts
200 · 0.4s
import { BirdClient } from "@messagebird/sdk";

const bird = new BirdClient({ apiKey: process.env.BIRD_API_KEY! });

const code = generateOtp();

const { data, error } = await bird.sms.send({
  from:     "Bird",
  to:       "+15005550006",
  text:     `Your Bird verification code is ${code}. Reply STOP to opt out.`,
  category: "authentication",
}).safe();

if (error) throw error;
console.log(data.id);
// → "sms_4kT01Lq2m..."

Today at 2:14 PM

Hey Ada, your Bird sign-in code is 482917. It'll expire in 10 minutes. Don't share it with anyone.
482917
Delivered

चार sender टाइप, एक API।

Numbers Bird SMS API की बुनियाद हैं। availability सर्च करें, एक नंबर खरीदें, और उसी client से inbound को webhook पर रूट करें जिससे आप पहले से भेजते हैं। आप कौन-सा टाइप चुनते हैं यह वॉल्यूम, भूगोल, और आप कितना registration संभाल सकते हैं इस पर निर्भर करता है।

मुझे कौन-सा sender इस्तेमाल करना चाहिए?

Throughput, पहुँच, और registration की मेहनत sender टाइप के हिसाब से अलग होती है। ज़्यादातर US application ट्रैफ़िक 10DLC long code पर शुरू होता है; हाई-वॉल्यूम one-to-many प्रोग्राम short code पर शिफ़्ट होते हैं।

Sender टाइपकिसके लिए सबसे अच्छाRegistration
Long code (10DLC)मध्यम वॉल्यूम पर two-way बातचीत, OTP, alertsA2P 10DLC brand + campaign
Short codeहाई-वॉल्यूम one-to-many marketing और alertsCarrier-vetted, lead time कुछ हफ़्तों में
Toll-free10DLC के बिना US/Canada ट्रैफ़िक, long code से ज़्यादा throughputToll-free verification
Alphanumeric sender IDजहाँ देश अनुमति देता है वहाँ one-way branded alertsकई देशों में pre-registration

कुछ ही calls में सर्च करें, खरीदें, और रूट करें।

Find a number by country and capability, buy it, and point its inbound traffic at a webhook, all from the same SDK you send with. The number is live as soon as any required registration clears.

provision.ts
201 · purchased
const { data: available } = await bird.numbers.search({
  country: "US",
  type:    "long-code",
  capabilities: ["sms"],
}).safe();

const { data: number } = await bird.numbers.buy({
  number:  available[0].number,
  webhook: "https://example.com/webhooks/bird",
}).safe();

console.log(number.id); // → "num_8KQ2..."

Registration, जहाँ ज़रूरी हो वहाँ संभाला गया।

ज़्यादातर US application ट्रैफ़िक को A2P 10DLC brand और campaign registration चाहिए; toll-free को verification चाहिए; कई देशों में sender-ID pre-registration ज़रूरी होता है। Bird इनमें से हर एक को dashboard से चलाता है, और compliance surface API से स्टेटस ट्रैक करता है।

SMS numbers FAQ

मुझे किस नंबर टाइप से शुरुआत करनी चाहिए?
US application ट्रैफ़िक के लिए, एक 10DLC long code ज़्यादातर two-way और OTP उपयोग को कवर कर लेता है। हाई-वॉल्यूम one-to-many प्रोग्राम short code पर शिफ़्ट होते हैं; 10DLC के बिना US/Canada के लिए toll-free एक विकल्प है।
एक नंबर को live होने में कितना समय लगता है?
एक long code या toll-free नंबर तुरंत उपलब्ध होता है और उसका registration या verification पूरा होते ही भेजना शुरू कर देता है। Short codes carrier-vetted होते हैं और आम तौर पर कुछ हफ़्ते लेते हैं।
क्या एक ही नंबर भेज और प्राप्त, दोनों कर सकता है?
हाँ। Long codes, short codes, और toll-free नंबर two-way हैं: किसी नंबर के inbound ट्रैफ़िक को एक webhook पर पॉइंट करें और जवाब signed events के रूप में आते हैं। Alphanumeric sender ID सिर्फ़ one-way होते हैं।
क्या भेजने से पहले मुझे register करना ज़रूरी है?
It depends on the sender type and country. US application traffic needs A2P 10DLC, toll-free needs verification, and many countries require sender-ID pre-registration, all handled from the dashboard.

सही नंबर प्रोविज़न करें, उसे मिनटों में रूट करें।

Numbers, Bird SMS API की एक क्षमता है: sending, two-way inbound, compliance, routing, और analytics इसके साथ आते हैं।

एक चैनल से शुरुआत करें।
तैयार होने पर बाकी जोड़ें।

एक test API key तुरंत आपकी है। जब आप payment method जोड़ते हैं और sender verify करते हैं, तब production अनलॉक हो जाता है।

Claude Code, Cursor या Codex इस्तेमाल कर रहे हैं? एक setup prompt कॉपी करें और आपका agent आपके लिए Bird CLI और skills इंस्टॉल कर देगा। अपना चुनें:

Cursor