Upsert a country × channel regulatory rule
Create or update the regulatory rule for one country × channel pair in the global, ops-curated table, stamping it as a manual review. Use it to correct or enrich a country’s sender types, registration posture, restrictions, STOP requirement, throughput, and source links. Platform-admin only, because country_channel_rules is a single global table every tenant reads — a tenant admin cannot write to it.
Authorizations
Dashboard JWT token from Clerk
Path Parameters
Channel the rule applies to.
sms, whatsapp, rcs, voice, email, viber ISO 3166-1 alpha-2 country code (case-insensitive).
Body
Display name of the country.
1E.164 calling code (digits only, no leading +).
Region the country belongs to.
Permitted sender types for this country × channel.
alphanumeric, numeric, long_code, short_code, ten_dlc, waba, rcs_agent, from_address Sender-ID registration posture.
none, recommended, required Free-text sender-ID rules.
Free-text content restrictions.
Free-text opt-out/STOP requirement.
Whether two-way messaging is supported.
Delivery-receipt support level.
full, partial, submitted_only, none Default throughput (transactions per second).
Free-text operator notes.
Provenance links for the rule.
Response
Rule upserted — returns { country_code, channel }.