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-notification.ts
202 · 0.4s
import { BirdClient } from "@messagebird/sdk";

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

const { data, error } = await bird.sms.send({
  from:     "Bird",
  to:       "+31612345678",
  text:     "Your order #4821 has shipped. Track it: bird.ly/t/4821x",
  category: "transactional",
}).safe();

if (error) throw error;
console.log(data.id);
// → "sms_01m11jw130e7svjzv70kgqr38w"
Hi Ada, reminder of your appointment tomorrow at 14:30 with Dr. Kowalski.
Your order #4821 has shipped. Track it: bird.ly/t/4821x
Your subscription renews on 3 Sep for €12/mo. Manage it here: bird.ly/account

चार 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 and buy it, from the same SDK you send with. Inbound traffic is routed by a workspace webhook subscribed to sms.received rather than per number, so one subscription covers every number you hold. The number is live as soon as any required registration clears.

provision.ts
201 · purchased
const { data: page, error: searchError } = await bird.numbers.available
  .list({
    country_code: "US",
    number_type:  "local",
    capabilities: ["sms"],
  })
  .safe();
if (searchError) throw searchError;

const { data: order, error: orderError } = await bird.numbers.orders
  .create({ number: page.data[0].number })
  .safe();
if (orderError) throw orderError;

console.log(order.status, order.number_id); // → "completed" "nda_0ydh2yfw..."

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

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

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

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