cURL
curl --request POST \ --url https://api.comm.com/api/v1/sms/routing/plans/{plan}/rules/split \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "route_ids": [ "<string>" ], "country_id": 123, "network_id": 123, "network_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "is_active": true, "priority": 123, "limit": 123 } '
{ "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 } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The plan ID
SmsRoutingPlanRuleResource
Show child attributes
Optional action vars for split action