bird email list
Usage
Contoh kode
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) / created_before (exclusive) — e.g. for a single UTC day set created_after to that day at 00:00:00Z and created_before to 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
Contoh kode
bird email list
bird email list | jq -r '.data[].id'
bird email list --limit 50 --starting-after <cursor>Options
Filters
| Name | Description |
|---|---|
| --category | Filter by category. |
| --created-after | Return 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-before | Return 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. |
| --from | Filter by sender address. Exact match against the message from field; normalised to lowercase before comparison. |
| --response-schema | Print the fields this command returns, then exit |
| --status | Filter by aggregate delivery status. |
| --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 (e.g. category:welcome). Repeat the parameter to AND-combine several tag filters. |
| --to | Filter by recipient address. Exact match against any to/cc/bcc recipient on the message; normalised to lowercase before comparison. |
Pagination
| Name | Description |
|---|---|
| --ending-before | Cursor 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-after | Cursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order. |
Related
| Name | Description |
|---|---|
| bird email cancel | Cancel a scheduled message |
| bird email content | Get stored message content |
| bird email get | Get a message |
| bird email recipients | List recipients of a message |
| bird email send | Send an email message. |
| bird email send-batch | Send a batch of email messages in one call. |