Documentation
Sign inGet started

bird

Usage

代码示例
bird

Description

Authenticate, configure, and operate the Bird API from the command line.
Output is JSON by default; pass --format text for a human-readable card on single-record reads (get, show). Errors and diagnostics go to stderr, never mixed with data on stdout.
Mutations (send, create, test) take input from flags, a JSON body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run a command with --example to print its body shape, --dry-run to preview the request without sending, and --idempotency-key to make a retry safe.
Run "bird commands" to print the whole command tree as JSON.

Channels

NameDescription
emailSend and receive email and manage its deliverability resources
smsSend SMS and manage its messaging resources
whatsappSend WhatsApp messages
voiceRead the call log and statistics, manage what admits a call, and place a test call
realtimeProvision Realtime apps and the keys their clients connect with

Contacts & Audiences

NameDescription
contactsManage contacts, identified by email, phone, or external ID
audiencesGroup contacts into named audiences to send to
contact-propertiesDefine the custom fields a contact can carry

Developer

NameDescription
webhooksManage outbound webhook endpoints
verifySend one-time passcodes and check them
lookupFind out about a recipient before you use it
docsSearch the Bird documentation
request-logsInspect your API request logs

Account

NameDescription
authManage Bird API credentials
billingInspect billing plans and pricing
support-ticketsOpen and follow up on Bird support tickets
membersManage workspace members
invitationsManage workspace invitations
organizationAdminister the organization a credential belongs to
workspaceInspect the current workspace and its settings

CLI

NameDescription
configInspect CLI configuration
versionPrint the CLI version
updateUpdate the bird CLI to the latest release
commandsPrint the full command tree as JSON
mcpServe Bird as MCP tools over stdio
whoamiShow the signed-in user (id, email, name)

Examples

代码示例
# Sign in (opens a browser)
bird auth login

# Send an email from a JSON body
bird email send --body-file message.json

# List recent messages and pull their ids
bird email list | jq -r '.data[].id'

Options

NameDescription
--base-urlAPI base URL (or set BIRD_API_URL)
--format, -fOutput format: json, or text where offered (single-record commands; collections are always JSON) (default json)
--max-retries <n>Retries after a transient failure, 0 to disable (or set BIRD_MAX_RETRIES) (default 2)