A2P 10DLC वह तरीका है जिससे application-to-person SMS मानक 10-अंकों वाले नंबरों पर US प्राप्तकर्ताओं तक पहुँचता है. आप एक ब्रांड रजिस्टर करते हैं, फिर एक campaign जो आपके भेजे जाने वाले संदेशों का वर्णन करता है. Carriers दोनों की जाँच करते हैं और मंज़ूरी मिलने पर campaign को throughput देते हैं.
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"
10DLC क्यों मौजूद है.
A2P 10DLC Bird SMS API पर SMS compliance का हिस्सा है. US carriers की माँग है कि local long codes पर application ट्रैफ़िक भेजने वाला कोई भी व्यवसाय उसके पीछे के ब्रांड और चलाए जाने वाले हर campaign को रजिस्टर करे. रजिस्टर किए गए ट्रैफ़िक को वेटेड throughput और carrier का भरोसा मिलता है; बिना रजिस्टर किए ट्रैफ़िक को फ़िल्टर कर दिया जाता है. Bird दोनों को फ़ाइल करता है और मंज़ूरी की स्थिति रिपोर्ट करता है ताकि आप ऐसे campaign में भेजें जो वाकई live है.
रजिस्ट्रेशन का फ़्लो.
पहले ब्रांड, फिर campaign, फिर उसे ले जाने वाले नंबर.
- 01
एक ब्रांड रजिस्टर करें.
अपने ट्रैफ़िक के पीछे की कानूनी इकाई सबमिट करें. Carriers इसकी जाँच करते हैं और ब्रांड वह पहचान बन जाता है जिससे हर campaign जुड़ता है.
- 02
एक campaign रजिस्टर करें.
Describe the messages you send: the use case, sample content, and opt-in flow. Approval is what unlocks the campaign's throughput.
- 03
अपने नंबर जोड़ें.
वे long codes जोड़ें जो campaign को ले जाएँगे. उसके बाद उनका US application ट्रैफ़िक रजिस्टर किए गए campaign पर चलता है.
- 04
live होने तक status query करें.
मंज़ूरी में कुछ दिनों से हफ़्तों तक लगते हैं. API के ज़रिए campaign की स्थिति poll करें ताकि आपका कोड किसी pending campaign में भेजने के बजाय उसका इंतज़ार करे.
API से किसी campaign का status जाँचें.
आप ब्रांड और campaign को dashboard से फ़ाइल करते हैं; API बताता है कि हर एक कहाँ है. campaign को उसकी id से पढ़ें और भेजना शुरू करने से पहले status पर branch करें.
// The 10DLC surface is not on the SDK yet, so read it over HTTP with a key
// carrying the sms_management:read scope.
const res = await fetch(
`https://eu1.platform.bird.com/v1/sms/10dlc/campaigns/${campaignId}`,
{ headers: { Authorization: `Bearer ${process.env.BIRD_API_KEY!}` } },
);
const campaign = await res.json();
if (campaign.status === "approved") {
// throughput is live — safe to send
}
console.log(campaign.brand_id); // → "brd_01krdgeqcxet5s7t44vh8rt9mg"
10DLC ही वह तरीका है जिससे long codes US throughput हासिल करते हैं.
अगर आप long codes से भेजते हैं, तो 10DLC ही उन्हें फ़िल्टरिंग जोखिम से एक वेटेड sender में बदलता है. नंबर खरीदते ही आपका हो जाता है, लेकिन इसका US application ट्रैफ़िक पूरी दर पर तभी चलता है जब इससे जुड़ा campaign मंज़ूर हो जाता है.
What registration costs.
TCR sets these fees and Bird passes them through at cost, priced live from the Bird billing API: a one-time brand fee, a one-time vetting fee per campaign submission, and a recurring monthly fee per campaign that varies by use case.
Registration fees
Put it into practice.
Continue with the documentation, guides and examples for this topic. Resources are in English.
अन्य compliance विषय
10DLC तीन SMS compliance नियमों में से एक है. बाकी देखें.
अपने ब्रांड और campaign को फ़ाइल करें, फिर भेजें.
10DLC Bird पर SMS compliance का एक नियम है. dashboard से रजिस्टर करें, API के ज़रिए मंज़ूरी ट्रैक करें, और वेटेड throughput के साथ US प्राप्तकर्ताओं को भेजें.