Skip to main content
PUT
Upsert a country × channel regulatory rule

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

channel
enum<string>
required

Channel the rule applies to.

Available options:
sms,
whatsapp,
rcs,
voice,
email,
viber
country_code
string
required

ISO 3166-1 alpha-2 country code (case-insensitive).

Body

application/json
country_name
string
required

Display name of the country.

Minimum string length: 1
calling_code
string

E.164 calling code (digits only, no leading +).

region
string

Region the country belongs to.

sender_types
enum<string>[]

Permitted sender types for this country × channel.

Available options:
alphanumeric,
numeric,
long_code,
short_code,
ten_dlc,
waba,
rcs_agent,
from_address
registration
enum<string>

Sender-ID registration posture.

Available options:
none,
recommended,
required
sender_rules
string

Free-text sender-ID rules.

content_restrictions
string

Free-text content restrictions.

stop_requirement
string

Free-text opt-out/STOP requirement.

two_way
boolean

Whether two-way messaging is supported.

dlr_support
enum<string>

Delivery-receipt support level.

Available options:
full,
partial,
submitted_only,
none
default_tps
string

Default throughput (transactions per second).

notes
string

Free-text operator notes.

sources
object[]

Provenance links for the rule.

Response

Rule upserted — returns { country_code, channel }.