Sign inGet Started

bird email blocks list

Usage

Exemple de code
bird email blocks list [flags]

Description

List reusable blocks without their content. q matches part of the block name, and leaving out archived returns active and archived blocks together. Read a language's section with bird email blocks languages get.

Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Exemple de code
bird email blocks list
bird email blocks list | jq -r '.data[].id'
bird email blocks list --limit 50 --starting-after <cursor>

Options

Filters

NameDescription
--archivedReturn only archived blocks when true, or only active blocks when false.
--qCase-insensitive text to match within the block name.
--response-schemaPrint the fields this command returns, then exit

Pagination

NameDescription
--ending-beforeCursor from the prev_cursor or refresh_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. prev_cursor returns the preceding page. refresh_cursor anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since.
--include-totalWhen true, the response includes a total field with the total number of items matching the request's filters across all pages.
--limit <n>Maximum number of items to return per page. Allowed range: 1 to 100.
--orderSort direction. Defaults to desc, which sorts from newest to oldest or largest to smallest, depending on the selected sort field. Possible values: asc, desc.
--sortField to sort by. Defaults to created_at. Possible values: created_at, name.
--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 blocks createCreate a reusable email block
bird email blocks duplicateDuplicate a reusable email block
bird email blocks getGet a reusable email block
bird email blocks publishPublish a reusable email block
bird email blocks updateUpdate a reusable email block
bird email blocks validateValidate a reusable email section

Poursuivez avec la documentation, les guides et les exemples sur ce sujet.