Get Outbound PSTN Rates
This request returns a list of rates for sending calls to the PSTN.
get | /calls/rates/outbound/pstn |
Sample
A sample GET request to get outbound PSTN rates for calls:
curl -X GET \
'https://api.carrierx.com/core/v2/calls/rates/outbound/pstn?limit=1' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
200
status code with a serialized copy of the Rate object:
{
"active": "yes",
"count": 1,
"effective_date": "2024-08-23T00:00:00.000Z",
"has_more": true,
"items": [
{
"billing_increment": "6",
"billing_minimum": "6",
"country_code": "USA",
"country_name": "United States",
"prefix": "1207991",
"price": "0.01"
}
],
"limit": 1,
"offset": 0,
"pagination": null,
"partner_sid": "ed437757-002d-4ecc-aa5a-efdf5e50dba0",
"rates_plan": {
"name": "retail_voice_out-2024-08-16",
"rates_plan_sid": "0428d20f-7869-4cf5-aa5c-f44f99a19515"
},
"total": 110170
}
This request is enabled for Pagination, Result Filtering, and Field Filtering.