Skip to content

List your outbound voice rates

GET
/v1/Accounts/{auth_id}/Rates
curl --request GET \
--url 'https://api.siprtc.io/v1/Accounts/example/Rates?page=1&limit=100' \
--header 'Authorization: Basic <credentials>'

Lists the outbound voice rates you uploaded as your own rate plan, ordered by prefix and paged with page and limit. When you have not uploaded any, own_rates is false and the list is empty: your vendor’s default plan applies (its rates are not listed here). Filter with prefix to see the rates whose prefix starts with the given digits.

auth_id
required
string

Your account Auth ID (20 characters). The request always acts on the authenticated account.

prefix
string

Only rates whose prefix starts with these digits, e.g. 44

page
integer
default: 1 >= 1

Page number, from 1

limit
integer
default: 100 >= 1 <= 500

Rates per page, 1 to 500 (out-of-range values fall back to 100)

OK

Media type application/json
object
limit

Page size used. Present only when own_rates is true.

integer
own_rates

True when the account has uploaded rates of its own; false when its vendor’s default plan applies (then only total and an empty rates list are returned).

boolean
page

Page returned, from 1. Present only when own_rates is true.

integer
plan_id

ID of the account’s own rate plan. Present only when own_rates is true.

integer
rates

The rates on this page, ordered by prefix.

Array<object>
object
country

Country name, as uploaded (may be empty).

string
country_code

Country calling code, digits only (may be empty).

string
country_iso

ISO 3166-1 alpha-2 country code, upper case.

string
initial_pulse

Billing increment for the first part of the call, in seconds.

integer
prefix

Dial prefix the rate applies to: digits only, country code first, no +. The longest prefix matching a destination wins.

string
rate

Price in US dollars per minute.

number
sub_pulse

Billing increment after the initial pulse, in seconds.

integer
total

Number of rates matching the prefix filter (all rates without one).

integer
updated

When the rate plan was last saved, RFC 3339. Present only when own_rates is true.

string

Example

{
"limit": 100,
"own_rates": true,
"page": 1,
"plan_id": 117,
"rates": [
{
"country": "United Kingdom",
"country_code": "44",
"country_iso": "GB",
"initial_pulse": 60,
"prefix": "4420",
"rate": 0.012,
"sub_pulse": 60
}
],
"total": 245,
"updated": "2026-11-20T09:30:00Z"
}

The account ID is too short to be valid

Media type application/json
object
message

What went wrong, in plain words.

string
status

Always “failed”.

string

Example

{
"message": "trunk not found",
"status": "failed"
}

Missing or wrong Auth ID / Auth Secret (answered by the API gateway)

Media type application/json
string

Example generated

example

The rates could not be read

Media type application/json
object
message

What went wrong, in plain words.

string
status

Always “failed”.

string

Example

{
"message": "trunk not found",
"status": "failed"
}

The account’s vendor could not be looked up

Media type application/json
object
message

What went wrong, in plain words.

string
status

Always “failed”.

string

Example

{
"message": "trunk not found",
"status": "failed"
}