Create or replace a country compliance config
Authentication
Request
A country Jelliu has written compliance rules for (ISO 3166-1 alpha-2, upper case). The country of a number is resolved from its dialling prefix. Defaults shown are the built-in ones. All seven require a recording notice, run the DNC check and default the AI-disclosure notice to off.
CO: Colombia (+57). Ley 1581 de 2012 (data protection) and the Registro de Números Excluidos under Ley 2300 de 2023. Calls 08:00–20:00 America/Bogota, 3 per day, 10 total, opt-in required, 365-day retention.MX: Mexico (+52). LFPDPPP and the Profeco REPEP registry. Calls 08:00–21:00 America/Mexico_City, 3 per day, 10 total, 365 days.BR: Brazil (+55). LGPD and Não Me Perturbe. Calls 08:00–20:00 America/Sao_Paulo, 3 per day, 8 total, opt-in required, recording notice in Portuguese, 365 days.US: United States (+1, which also covers Canada and the Caribbean). TCPA/TSR and the National DNC Registry. Calls 08:00–21:00 America/New_York, 3 per day, 15 total, recording notice in English, 730 days.AR: Argentina (+54). Ley 25.326. Calls 08:00–20:00 America/Argentina/Buenos_Aires, 3 per day, 10 total, 365 days.CL: Chile (+56). Ley 19.628. Calls 08:00–20:00 America/Santiago, 3 per day, 10 total, 365 days.PE: Peru (+51). Ley 29733. Calls 08:00–20:00 America/Lima, 3 per day, 10 total, 365 days.
Open every call to this country with a recording notice (consent_script, or a generic notice when it is null).
Maximum calls to one contact per local day (midnight in the call-hours time zone).
The local window in which outreach is allowed. start is inclusive and end is exclusive. When start is later
than end, the window wraps past midnight. At check time, the workspace’s own time zone setting, when present,
replaces timezone.
Retention for this country, in days (minimum 30 here, although the workspace window accepts values from 1). The smallest value across configs becomes the workspace retention window.
The recording notice the agent reads at the start of the call, in the callee’s language. null uses the country default script.
Block numbers that belong to any workspace contact marked do-not-call. The suppression list is checked regardless.
Records that this country requires prior opt-in. It is stored and shown, but not enforced by the call gate. The dialer’s consent requirement is a separate workspace setting.
E.164 prefixes that are never contacted (plain string prefix match), e.g. premium-rate or landline ranges.
Open calls to this country by saying the caller is an AI. true or false is this workspace’s decision.
null or omitted inherits the country default, which is false for every supported country. An agent’s own
disclose_ai setting overrides this.
Response
A saved per-country compliance config. Fields left null fall back to the country default when a call is placed.

