List your outbound voice rates
const url = 'https://api.siprtc.io/v1/Accounts/example/Rates?page=1&limit=100';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Your account Auth ID (20 characters). The request always acts on the authenticated account.
Query Parameters
Section titled “ Query Parameters ”Only rates whose prefix starts with these digits, e.g. 44
Page number, from 1
Rates per page, 1 to 500 (out-of-range values fall back to 100)
Responses
Section titled “ Responses ”OK
object
Page size used. Present only when own_rates is true.
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).
Page returned, from 1. Present only when own_rates is true.
ID of the account’s own rate plan. Present only when own_rates is true.
The rates on this page, ordered by prefix.
object
Country name, as uploaded (may be empty).
Country calling code, digits only (may be empty).
ISO 3166-1 alpha-2 country code, upper case.
Billing increment for the first part of the call, in seconds.
Dial prefix the rate applies to: digits only, country code first, no +. The longest prefix matching a destination wins.
Price in US dollars per minute.
Billing increment after the initial pulse, in seconds.
Number of rates matching the prefix filter (all rates without one).
When the rate plan was last saved, RFC 3339. Present only when own_rates is true.
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
object
What went wrong, in plain words.
Always “failed”.
Example
{ "message": "trunk not found", "status": "failed"}Missing or wrong Auth ID / Auth Secret (answered by the API gateway)
Example generated
exampleThe rates could not be read
object
What went wrong, in plain words.
Always “failed”.
Example
{ "message": "trunk not found", "status": "failed"}The account’s vendor could not be looked up
object
What went wrong, in plain words.
Always “failed”.
Example
{ "message": "trunk not found", "status": "failed"}