Voice

List all Voice Provider Rates

Returns a list of your Voice Provider Rates.

get/admin/voice/provider-rates

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/voice/provider-rates
  • Auth: HTTP basic

Response

idnumber

Provider rate ID.

provider_idnumber

Voice provider ID.

namestring

Rate name.

descriptionstring

Free-form description.

type'call' | 'message' | 'data'

Voice service type. One of call, message, data.

category_idnumber nullable

Voice category ID. Nullable.

prefixstring

Number prefix the rate matches.

pricenumber

Buy price per tariffication step.

first_stepnumber

Length of the first chargeable step (seconds for calls, units for other types).

tariffication_stepnumber

Length of each subsequent chargeable step.

connect_costnumber

One-off connect cost charged on top of the price.

Example response

[
  {
    "id": 1,
    "provider_id": 2,
    "name": "Local",
    "description": "Local destinations",
    "type": "call",
    "category_id": 1,
    "prefix": "380",
    "price": 0.03,
    "first_step": 60,
    "tariffication_step": 30,
    "connect_cost": 0
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.