Build it in your own project.

Use the same SDK examples as Bird's product pages, then give your coding agent a brief that includes the failure paths you practised.

Send to the email sandbox

Set up the SDK and API key in your own server environment. This example uses Bird's sanctioned test recipient.

1
2
3
4
5
6
7
const msg = await bird.email.send({
  from: { email: "onboarding@messagebird.dev", name: "Bird" },
  to: ["delivered@messagebird.dev"],
  subject: "Hello from Bird",
  html: "<p>My first Bird email.</p>",
});
console.log(msg.id, msg.status); // "em_…", "accepted"

A brief for your coding agent

# Build a Bird integration

Use the official Bird SDK and the current documentation at https://bird.com/docs.
Start with the sanctioned email destination delivered@messagebird.dev.
Keep API keys on the server and read BIRD_API_KEY from the environment.
Use the smallest permissions required for the task.

Build an order confirmation that includes the customer's name and order reference.
Record request acceptance separately from delivery events.
Verify incoming webhook signatures using the original request body.
Deduplicate events by their stable identifier and process state transitions by event time.
Respect marketing opt-outs. Test hard bounces, invalid signatures, duplicate events, and temporary failures.

Before production: configure a verified sender, confirm recipient consent and channel rules,
and review the code and test results with the team operating the integration.

从一个渠道开始。
准备好后,再添加其他渠道。

测试 API 密钥即刻可用。添加支付方式并验证发送者身份后,即可解锁生产环境。

正在使用 Claude Code、Cursor 或 Codex?复制一条设置提示,您的智能代理即可自动安装 Bird CLI 和相关技能。选择您的工具:

Cursor