Documentation
Sign inGet started

bird email list

Usage

Code example
bird email list [flags]

Description

List sent email messages, newest first, as a cursor page ({data, next_cursor, …}). Pass next_cursor back as starting_after to fetch the next page. Filter by creation time with the half-open range created_after (inclusive) and created_before (exclusive). For a single UTC day, created_after is that day at 00:00:00Z and created_before is the next day at 00:00:00Z.
Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Code example
bird email list
bird email list | jq -r '.data[].id'
bird email list --limit 50 --starting-after <cursor>

Options

Filters

NameDescription
--categoryFilter by category. Possible values: marketing, transactional.
--created-afterReturn only resources created at or after this timestamp (inclusive lower bound). Combine with created_before to filter to a time window. RFC 3339 / ISO 8601 with timezone.
--created-beforeReturn only resources created strictly before this timestamp (exclusive upper bound). Combine with created_after to filter to a time window. RFC 3339 / ISO 8601 with timezone.
--fromFilter by sender address. Exact match against the message from field. The address is normalized to lowercase before comparison.
--response-schemaPrint the fields this command returns, then exit
--statusFilter by aggregate delivery status. Possible values: scheduled, accepted, processed, deferred, delivered, partial_failure, bounced, complained, rejected, canceled.
--tag <v1,v2,…>Filter by tag. Accepts name to match any message carrying that tag name, or name:value to match a specific tag pair (for example category:welcome). Repeat the parameter to add more tags. A message must match every tag listed to be returned.
--toFilter by recipient address. Exact match against any to/cc/bcc recipient on the message. The address is normalized to lowercase before comparison.

Pagination

NameDescription
--ending-beforeCursor from the prev_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order.
--limit <n>Maximum number of items to return per page.
--starting-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.
NameDescription
bird email cancelCancel a scheduled message
bird email contentGet stored message content
bird email getGet a message
bird email recipientsList recipients of a message
bird email sendSend an email message
bird email send-batchSend a batch of email messages in one call