消息发送 尽在你的 CLI。

在终端或自动化工作流中发送客户消息并查看投递情况。

将图标拖到圆点上。使用方向键移动已聚焦的图标。按 Escape 取消拖动。

从提示词到 送达。

通过代码、终端或 AI 助手发送消息并检查送达情况。

查看 MCP 文档
CLI
# Install the CLI.
curl -fsSL https://cli.bird.com/install.sh | sh

# Authenticate once (opens your browser).
bird auth login --scope emails:write

# Send an email.
bird email send \
  --from "Bird <onboarding@messagebird.dev>" \
  --to delivered@messagebird.dev \
  --subject "Welcome to Bird" \
  --html "<p>You are in.</p>"

Install the binary and sign in through your browser in seconds.

Browser OAuth binds a scoped grant to your workspace and region, so you can run commands locally or start the local MCP server without copying static API keys or configuring regional host URLs. When a coding agent needs a brand-new workspace, it can also create an account and organization directly from the terminal by verifying an emailed code.

终端
brew install messagebird/tap/bird
bird auth login
bird --help

Built for scripts, CI pipelines, and coding agents.

Standard CLI output mixes human tables with error logs, forcing scripts and agents to guess what happened. Bird’s CLI separates machine-readable responses from diagnostics so automated workflows can validate payloads, branch on failure categories, and retry safely.

Preview payloads before sending

Generate a valid sample request body, inspect the response schema, and preview the resolved request before sending a live email, SMS, or WhatsApp message.

Parse JSON and branch on exit codes

Receive structured JSON on standard output while errors and diagnostics stay on standard error. Six semantic exit codes distinguish usage errors, missing resources, authentication issues, conflicts, and transient failures so scripts and agents know when to stop or retry.

Prevent duplicate sends on retry

Attach an idempotency key when sending messages or creating resources so a script or coding agent can safely repeat a timed-out request without delivering duplicate messages to customers.

使用 Bird 开始构建, 只需几分钟。