GET
/
v1
/
sms
/
routing
/
plans
/
{plan}
/
rules
cURL
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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

plan
string<uuid>
required

The plan ID

Query Parameters

page
integer | null
per_page
integer | null
search_ids
string<uuid>[]

Response

200
application/json

Paginated set of SmsRoutingPlanRuleResource

The response is of type object.