curl --request GET \
--url https://api.comm.com/api/v1/sms/routing/rates \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"country_id": 123,
"rate": 123,
"upcoming_rate": 123,
"rate_updated_at": "<string>",
"sms_route_id": "<string>",
"network_id": 123,
"network_brand_id": "<string>"
}
],
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
}
}
curl --request GET \
--url https://api.comm.com/api/v1/sms/routing/rates \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"country_id": 123,
"rate": 123,
"upcoming_rate": 123,
"rate_updated_at": "<string>",
"sms_route_id": "<string>",
"network_id": 123,
"network_brand_id": "<string>"
}
],
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Paginated set of SmsRoutingRateResource
The response is of type object
.