Short codes

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

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

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

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: page, error: searchError } = await bird.numbers.available
  .list({
    country_code: "US",
    number_type:  "short_code",
    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..."

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

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

अपने वॉल्यूम के मुताबिक 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