curl --request GET \
--url https://api.comm.com/api/v1/sms/routing/plans/{plan}/rules \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"sms_route_id": "<string>",
"sms_routing_plan_id": "<string>",
"country_id": 123,
"network_id": 123,
"network_brand_id": "<string>",
"is_active": true,
"priority": 123,
"action": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"action_vars": {
"route_ids": [
"<string>"
],
"limit": 123
}
}
],
"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/plans/{plan}/rules \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"sms_route_id": "<string>",
"sms_routing_plan_id": "<string>",
"country_id": 123,
"network_id": 123,
"network_brand_id": "<string>",
"is_active": true,
"priority": 123,
"action": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"action_vars": {
"route_ids": [
"<string>"
],
"limit": 123
}
}
],
"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.
The plan ID
Paginated set of SmsRoutingPlanRuleResource
Show child attributes
Show child attributes
Base path for paginator generated URLs.
Number of items shown per page.
Number of the last item in the slice.
Total number of items being paginated.