bird amb businesses list
Usage
Przykład kodu
bird amb businesses list [flags]Description
Lists the Apple businesses registered in your workspace, with cursor pagination. Requires business-management read permission. Read a business's approval state before sending as it.
Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.
Examples
Przykład kodu
bird amb businesses list
bird amb businesses list | jq -r '.data[].id'
bird amb businesses list --limit 50 --starting-after <cursor>Options
Pagination
| Name | Description |
|---|---|
| --ending-before | Cursor 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-total | When 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. |
| --order | Sort direction. Defaults to desc, which sorts from newest to oldest or largest to smallest, depending on the selected sort field. Possible values: asc, desc. |
| --sort | Field to sort by. Possible values: created_at. Defaults to created_at. Possible values: created_at. |
| --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. |
Filters
| Name | Description |
|---|---|
| --response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
| bird amb businesses create | Create an Apple Messages for Business record |
| bird amb businesses get | Get an Apple Messages for Business record |
| bird amb businesses update | Update an Apple Messages for Business record |
Powiązane zasoby
Kontynuuj z dokumentacją, przewodnikami i przykładami dotyczącymi tego tematu. Zasoby są w języku angielskim.
Zrozum koncepcjęShould I use a Bird SDK or call the API directly?Podążaj ścieżką naukiBuild your first integrationPrzewodnik wdrożeniowySend your first email
Uzyskaj brief wdrożeniowy