---
title: "Get the dialled prefixes of voice breakout codes as CSV"
canonical: "https://bird.com/docs/api/reference/get-billing-voice-outbound-rate-prefixes"
---

# Get the dialled prefixes of voice breakout codes as CSV

`GET /v1/billing/rates/voice-outbound/prefixes`

Downloads, as one CSV file, which dialled numbers each breakout code covers, with the columns `prefix`, `breakout_code`, `country_code`, `line_type` and `breakout_codes_version`. A prefix is the leading digits of a number in international format without the `+`. To find the published rate for a number, take the longest prefix the dialled number starts with, read its breakout code, and look that code up in the outbound call rates for the call's zone. It is the rate published for that code's country label and zone, which can differ from what a call is charged where the number belongs to another country than the label. The file holds every breakout code, also the ones that have no rate for you, so the longest match is always the code the breakout codes give the number; a code that is not in the outbound call rates has no rate published there. `country_code` and `line_type` are empty for a code that has none. The file is the same for every organization and holds no prices. Compare `breakout_codes_version` with the one on the rates: when they differ, read both again. Matching versions join the published rates and prefixes; a call placed just after new breakout codes are published can still be rated under the previous ones. Returns a retryable `503` when the breakout codes cannot be read. Requires the `rates` permission in the workspace, or the organization's `org:billing` permission, with which the workspace can be left out.

## Servers

- `https://{region}.platform.bird.com`: Regional API endpoint. Use the host for the region your organization is hosted in. Official Bird SDKs and the CLI select it automatically from your API key, so you rarely need to set it by hand.
  - `region`: `us1`, `eu1`. Default: `us1`. The region your organization's data is hosted in.

## Authentication

Use one authentication option:

- `BearerAuth`: HTTP bearer authentication. Pass the API key as a bearer token in the `Authorization` header. Workspace
keys use `bk_{region}_*`; organization master keys use `bm_{region}_*`.
The prefix identifies the region and selects the
API endpoint. Official Bird SDKs and the CLI derive the region from the key.

## Code samples

**cURL**

```sh
curl -X GET "https://us1.platform.bird.com/v1/billing/rates/voice-outbound/prefixes" \
  -H "Authorization: Bearer $TOKEN"
```

Examples: [cURL](/docs/api/reference/get-billing-voice-outbound-rate-prefixes.curl.md)

## Header parameters

- `X-Workspace-Id` (string, optional): Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.
- `X-Organization-Id` (string, optional): Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
