GET
/
v1
/
domains
/
plans
/
{domainPlan}
/
rules
/
{rule}
cURL
curl --request GET \
  --url https://api.comm.com/api/v1/domains/plans/{domainPlan}/rules/{rule} \
  --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

rule
string<uuid>
required

The rule ID

Response

200
application/json

DomainPlanRuleData

The response is of type object.