Short codes

बड़े पैमाने पर भेजने के लिए बनाया गया।

Short code एक 5–6 अंकों का नंबर है जो हाई-वॉल्यूम one-to-many SMS के लिए बना है: मार्केटिंग, अलर्ट, और हाई-रेट OTP। Carrier हर प्रोग्राम को भेजने से पहले जाँचते हैं, इसलिए प्रोविज़निंग लीड टाइम मिनटों में नहीं बल्कि हफ़्तों में नापा जाता है।

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

Short code कहाँ फ़िट होता है।

A short code is one of the four sender types on Bird SMS numbers, part of the broader Bird SMS API. It's the option you reach for when one number has to push high volume to many recipients, and you're willing to trade provisioning speed for the throughput and carrier trust that comes with it.

Short code आपको क्या देता है।

हाई थ्रूपुट, carrier-vetted, one-to-many के लिए बना।

  1. 01

    किसी भी sender type में सबसे ज़्यादा थ्रूपुट।

    Short code को इस तरह इंजीनियर किया गया है कि एक नंबर भारी आउटबाउंड लोड उठा सके, और यही वजह है कि उसी दिन का कैंपेन या अलर्ट फ़ैन-आउट समय पर पहुँचता है।

  2. 02

    Dedicated या shared।

    Dedicated short code लें और उसकी sending reputation सिर्फ़ आपकी होती है; इसे keywords के पीछे शेयर करें ताकि तेज़ और सस्ते में शुरू कर सकें, इस कीमत पर कि आप अपने पड़ोसियों की reputation विरासत में पाते हैं।

  3. 03

    भेजने से पहले carrier-vetted।

    हर short code प्रोग्राम की carrier समीक्षा करते हैं, इसलिए नंबर लाइव ट्रैफ़िक के तहत भरोसा कमाने के बजाय उनका भरोसा पहले से स्थापित करके आता है।

  4. 04

    one-to-many के लिए सबसे अच्छा।

    मार्केटिंग सेंड, ट्रांज़ैक्शनल अलर्ट, और हाई-रेट OTP — सब short code में फ़िट होते हैं। दो-तरफ़ा बातचीत वाले ट्रैफ़िक के लिए long code आमतौर पर बेहतर शुरुआती विकल्प है।

इसे खोजें, खरीदें, और रूट करें।

Provisioning a short code uses the same client and the same call shape as any other sender type: only the type field changes. Search by country and capability, buy the number, and point its inbound at a webhook.

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

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

Vetting आपको थ्रूपुट दिलाती है।

ट्रेडऑफ़ सीधा है: short code अपना ऊँचा, carrier-भरोसेमंद थ्रूपुट पहले vetting से गुज़रकर कमाता है, इसलिए हफ़्तों की लीड टाइम की योजना बनाएँ। इसे तब चुनें जब किसी प्रोग्राम का वॉल्यूम उससे आगे बढ़ जाए जो long code सपोर्ट करता है, या जब आपको पहले दिन से ऊँची और अनुमानित sending rate चाहिए। अगर आपका ट्रैफ़िक दो-तरफ़ा और बातचीत वाला है, या वॉल्यूम मध्यम है, तो long code जल्दी लाइव होता है और शुरू करने में कम खर्चीला है।

Short code से जुड़े सामान्य सवाल

SMS short code क्या है?
A short code is a 5–6 digit number that carriers approve for high-volume one-to-many SMS: marketing campaigns, alerts, and high-rate OTP. It's the highest-throughput sender type, and it goes through carrier vetting before it can send.
Short code को प्रोविज़न होने में कितना समय लगता है?
Plan in weeks, not minutes. Carriers vet every short code program before it goes live, so a short code carries a real lead time, unlike a long code, which you can buy and start sending on as soon as registration clears.
Dedicated या shared short code?
A dedicated short code is yours alone, so its sending reputation is entirely your own. A shared short code splits a number across senders behind keywords: cheaper, faster to start, but you inherit the reputation of everyone else on it.
मुझे इसके बजाय long code कब इस्तेमाल करना चाहिए?
जब ट्रैफ़िक दो-तरफ़ा और बातचीत वाला हो, या वॉल्यूम vetting और लीड टाइम को सही न ठहराता हो। Long code local, डिफ़ॉल्ट रूप से दो-तरफ़ा, और अपना 10DLC कैंपेन क्लियर होते ही लाइव हो जाता है।

अपने वॉल्यूम के मुताबिक sender type चुनें।

Short code, Bird SMS numbers surface पर मौजूद एक sender type है। जब वॉल्यूम और थ्रूपुट vetting को सही ठहराएँ तो इसे प्रोविज़न करें, और उसी API से inbound रूट करें जिससे आप भेजते हैं।

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

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

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

Cursor