VoiceBilling

Get Rates

Retrieve voice rates for your account. This endpoint returns a paginated list of tariff rates applied to voice traffic, including destination prefixes, effective dates, routing prefixes, and rate values. Rates define the cost structure used for call billing and may vary based on tariff plans, destination codes, and effective time periods.

GET
/api/v1/voice/billing/rates

Query Parameters

blocked?boolean

Optional parameter. Filters rates by blocking status. true - blocked destinations only; false - active destinations only.

direction_code?string

Optional parameter. Filters rates by destination country code. Accepts ISO Alpha-3 country codes. Examples: "DEU", "GBR", "ESP".

dst_name?string

Optional parameter. Filters rates by destination name. Partial matching is supported. Example: "Germany".

effective_from?string

Optional parameter. Returns only rates effective on or after the specified date. Format: RFC3339 (2026-05-21T16:04:00Z).

page?integer

Pagination parameters. Accepts page number. Pagination starts on page=1. If parameter is not provided, the default value of 1 will be set.

page_size?integer

Pagination parameter. Accepts the size of page for pagination. Minimal page size is 1. If parameter is not provided, the default value of 10 will be set.

prefix?string

Optional parameter. Filters rates by destination dialing prefix. Examples: "49", "44", "380".

rate_from?number

Optional parameter. Returns only rates with value greater than or equal to the provided amount.

rate_to?number

Optional parameter. Returns only rates with value less than or equal to the provided amount.

sort_by?string

Ordering parameter. Defines by which field the data will be sorted. If parameter is not provided, will be used entity's default ordering. To use entity's default sorting, pass _default as value.

Value in"_default" | "id" | "prefix" | "effective_from" | "direction_code" | "rate" | "blocked" | "tech_prefix" | "tariff_id" | "dst_name" | "trf_name"
sort_order?string

Ordering parameter. Defines the order of sorting (asc or desc). If parameter is not provided, will be used entity's default ordering.

Value in"asc" | "desc"
tariff_id?integer

Optional parameter. Filters rates belonging to a specific tariff. The tariff ID can be obtained from GET /api/v1/voice/billing/tariffs.

Range1 <= value
tariffs?array<string>

Optional parameter. Allows filtering by multiple tariff selectors. Each value must be provided in format <tariff_id>,<tech_prefix>. Examples: 11,111#, 15,222#. If technical prefix is not required, the format <tariff_id> may be used.

tech_prefix?string

Optional parameter. Filters rates belonging to a specific technical routing prefix. Example: "111#". Can be obtained via GET /api/v1/voice/billing/tariffs.

Header Parameters

Authorization*string

Your API token

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://dev-refactor-api-e.voipenv.uk/api/v1/voice/billing/rates" \  -H "Authorization: string"
{
  "data": [
    {
      "blocked": true,
      "direction_code": "string",
      "dst_name": "string",
      "effective_from": "string",
      "increment_s": "string",
      "min_time": "string",
      "prefix": "string",
      "rate": 0,
      "tariff_id": 0,
      "tech_prefix": "string",
      "trf_name": "string"
    }
  ],
  "page": 0,
  "page_size": 0,
  "total": 0,
  "total_pages": 0
}
{
  "code": 0,
  "error_details": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  },
  "message": "string",
  "request_id": "string",
  "status": "error"
}
{
  "code": 0,
  "error_details": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  },
  "message": "string",
  "request_id": "string",
  "status": "error"
}
{
  "code": 0,
  "error_details": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  },
  "message": "string",
  "request_id": "string",
  "status": "error"
}
Form Call To Action

Contact us

You can always send us a message or email. Weʼd be happy to help you out.