Telephony

Configure outbound compliance policy

Set bounded calling windows, countries, velocity limits, and at most two pre-answer attempts. Strong defaults apply to omitted fields.

put/v1/telephony/compliance/policy

Request

  • Base URL: https://api.pyai.com
  • URL: https://api.pyai.com/v1/telephony/compliance/policy
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

status'active' | 'suspended'
allowed_countriesstring[]
calling_window_start_hourinteger
calling_window_end_hourinteger
max_calls_per_24_hoursinteger
max_calls_per_destination_24_hoursinteger

Maximum calls to one destination in an exact rolling 24-hour window.

max_attemptsinteger
require_cnam_for_salesboolean

Response

Updated policy

status'active' | 'suspended'
allowed_countriesstring[]
calling_window_start_hourinteger
calling_window_end_hourinteger
max_calls_per_24_hoursinteger
max_calls_per_destination_24_hoursinteger

Maximum calls to one destination in an exact rolling 24-hour window.

max_attemptsinteger
require_cnam_for_salesboolean
objectstring
versioninteger nullable
updated_atinteger nullable

Example response

{
  "object": "telephony.compliance_policy"
}

Changes

No recorded changes to this operation across all 1 revision of this API.