Bird Produkte
Neun Oberflächen. Eine Plattform. Dasselbe Schema.
Email, SMS, Voice, WhatsApp, Verifications, Lookup, RCS, Push, and Realtime — each a first-class API. Same auth, same idempotency, same webhooks, same error envelope. Learn one, you've learned them all.
Alle Produkte. Neun Oberflächen, ein SDK.
Email. Die Email-API für Entwickler, die auch den Rest der Nachricht versenden.
await bird.email.send({
to: ["alex@example.com"],
subject: "Welcome to Bird",
html: "<p>You're in. Let's ship.</p>",
});SMS. Die SMS-API für Entwickler, die wirklich liefern müssen.
await bird.sms.send({
to: "+15005550006",
text: "Your code is 847291. Expires in 10 min.",
});Voice. Programmierbare Telefonie in JSON. Anrufe, IVR, Aufzeichnung, TTS.
await bird.voice.calls.create({
to: "+15005550010",
from: "+14155550199",
flow: [
{ say: "Your order is confirmed." },
],
});WhatsApp. Die WhatsApp Business API, ohne den BSP-Umweg.
await bird.whatsapp.send({
to: "+15005550006",
type: "text",
text: { body: "Order confirmed! 🎉" },
});Verifizierung. Die OTP-API für Entwickler, deren Codes auch ankommen müssen.
const { id } = await bird.verifications.start({
to: "+15005550006",
channel: "sms",
});
await bird.verifications.check({ id, code: userCode });Lookup. Telefonnummern-Intelligenz: Leitungstyp, Anbieter, Betrugssignale.
const { lineType, carrier, fraud } =
await bird.lookup.get("+15005550006");RCS. RCS Business Messaging — das attraktivere Geschwisterkind von SMS.
await bird.rcs.send({
to: "+15005550006",
text: "Your order shipped! 📦",
suggestions: [
{ type: "openUrl", text: "Track it", url },
],
});Push. Push-Benachrichtigungen für iOS, Android und Web.
await bird.push.send({
to: { deviceToken },
notification: {
title: "Order shipped!",
body: "Your package is on its way.",
},
});Realtime. Hosted pub/sub over WebSockets. Subscribe, publish, scale.
await bird.realtime.publish({
channel: "orders",
event: "order.shipped",
data: { orderId, status: "shipped" },
});Jedes der obigen Produkte teilt ein Auth-Modell, einen Idempotenz-Vertrag, ein Fehlerformat, einen Webhook-Vertrag und ein Cursor-Paginierungsschema. Lernen Sie eines kennen, kennen Sie alle.
/ Auth
/ Idempotency
/ Errors
/ Webhooks
/ Pagination
/ Typed IDs