Sign inGet Started

bird voice numbers list

Usage

Contoh kode
bird voice numbers list [flags]

Description

List every phone number the workspace can use for voice, as a cursor page ordered by number. Each entry is one phone number, with where its calls go and whether it may be presented on an outbound call.

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

Procedure

Step 9 of 9 of "Watch voice legs and find out why one was refused". Previous: bird voice destinations list.

Examples

Contoh kode
bird voice numbers list
bird voice numbers list | jq -r '.data[].id'
bird voice numbers list --limit 50 --starting-after <cursor>

Options

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.
--limit <n>Maximum number of items to return per page. Allowed range: 1 to 100.
--orderSort direction. Defaults to asc, which sorts alphabetically or from oldest to newest, depending on the selected sort field. Possible values: asc, desc.
--sortField to sort by. Possible values: phone_number.
--starting-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.

Filters

NameDescription
--providerFilter by number source. allocation selects numbers we allocated to your workspace. verified_number selects numbers from another carrier that you registered for use as caller IDs. Possible values: allocation, verified_number.
--response-schemaPrint the fields this command returns, then exit
--routeFilter by the answer incoming calls get. A number without a route of its own matches the route of your workspace's default. - reject: rejects incoming calls. - trunk: delivers calls to a SIP trunk. - forward: connects calls to the configured forwarding number. - sequence: runs the selected voice sequence entry. Numbers with an unsupported route are excluded when this filter is set. Possible values: reject, trunk, forward, sequence.
--searchMatches part of the phone number or name, ignoring case. Characters such as % and _ match literally.
NameDescription
bird voice numbers getGet a voice number
bird voice numbers updateUpdate what a voice number does with a call, or its label

Lanjutkan dengan dokumentasi, panduan, dan contoh untuk topik ini.