GET
/
v1
/
domains
/
plans
/
{domainPlan}
/
rules
cURL
curl --request GET \
  --url https://api.comm.com/api/v1/domains/plans/{domainPlan}/rules \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "country_id": 123,
      "sms_route_id": "<string>",
      "team_id": "<string>",
      "company_id": "<string>",
      "meta": {
        "tld_name": "com",
        "max_sms_per_domain": 50000,
        "number_of_domains_in_rotation": 3,
        "number_of_domains_in_backlog": 0,
        "domain_name_pattern": "<string>"
      },
      "priority": 0
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

domainPlan
string<uuid>
required

The domain plan ID

Query Parameters

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

Response

200
application/json

The collection of DomainPlanRuleData

The response is of type object.