Bird Products

नौ surfaces. एक platform. एक जैसी shape.

Email, SMS, Voice, WhatsApp, Verify, Lookup, RCS, Push, और Realtime — हर एक first-class API। वही auth, वही idempotency, वही webhooks, वही error envelope। एक सीख लिया, तो सब सीख लिए।

इसमें सेट अप करें:
Cursor

सभी products. नौ surfaces, एक SDK.

01POST /v1/emails

Email. उन developers के लिए email API जो बाकी message भी ship करते हैं।

welcome.tsx
await bird.email.send({
  to: ["alex@example.com"],
  subject: "Welcome to Bird",
  html: "<p>You're in. Let's ship.</p>",
});
02POST /v1/sms/messages

SMS. उन developers के लिए SMS API जिन्हें वाकई ship करना है।

notify.ts
await bird.sms.send({
  to: "+15005550006",
  text: "Your code is 847291. Expires in 10 min.",
  category: "authentication",
});
SMS को अपग्रेड किया जा रहा है
03POST /v1/voice/calls

Voice. JSON में programmable voice। Calls, IVR, recording, TTS।

dial.ts
await bird.voice.calls.create({
  to: "+15005550010",
  from: "+14155550199",
  flow: [
    { say: "Your order is confirmed." },
  ],
});
Voice को अपग्रेड किया जा रहा है
04POST /v1/whatsapp/messages

WhatsApp. WhatsApp Business API, बिना BSP की भागदौड़ के।

message.ts
await bird.whatsapp.send({
  to: "+15005550006",
  type: "text",
  text: { body: "Order confirmed! 🎉" },
});
WhatsApp को अपग्रेड किया जा रहा है
05POST /v1/verify/verifications

Verify. उन developers के लिए OTP API जिन्हें codes का पहुँचना जरूरी है।

verify.ts
await bird.verify.verifications.create({
  to: { phone_number: "+15005550006" },
});
// check by target — no id to store
await bird.verify.verifications.check({
  to: { phone_number: "+15005550006" }, code: userCode,
});
preview में
06GET /v1/lookup

Lookup. Phone number intelligence: line type, carrier, fraud signals।

lookup.ts
const { lineType, carrier, fraud } =
  await bird.lookup.get("+15005550006");
Lookup को अपग्रेड किया जा रहा है
07POST /v1/rcs

RCS. RCS Business Messaging — SMS का ज़्यादा खूबसूरत भाई।

rich.ts
await bird.rcs.send({
  to: "+15005550006",
  text: "Your order shipped! 📦",
  suggestions: [
    { type: "openUrl", text: "Track it", url },
  ],
});
RCS को अपग्रेड किया जा रहा है
08POST /v1/push

Push. iOS, Android, और web के लिए push notifications।

push.ts
await bird.push.send({
  to: { deviceToken },
  notification: {
    title: "Order shipped!",
    body: "Your package is on its way.",
  },
});
Push को अपग्रेड किया जा रहा है
09POST /v1/realtime/publish

Realtime. WebSockets पर hosted pub/sub। Subscribe करें, publish करें, scale करें।

realtime.ts
await bird.realtime.publish({
  channel: "orders",
  event: "order.shipped",
  data: { orderId, status: "shipped" },
});
Realtime को अपग्रेड किया जा रहा है

ऊपर दिया गया हर product एक ही auth model, एक idempotency contract, एक error envelope, एक webhook contract, एक cursor pagination scheme साझा करता है। एक सीख लिया, तो सब सीख लिए।

/ Auth

/ Idempotency

/ Errors

/ Webhooks

/ Pagination

/ Typed IDs

API Endpoints देखें

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

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

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

Cursor