Telephony

Suppress an outbound destination

Add a tenant-scoped opt-out or do-not-call suppression. The response masks the destination.

post/v1/telephony/compliance/suppressions

Request

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

Request body

destinationstring required
source'internal_opt_out' | 'manual'
reasonstring required

Example request

{
  "destination": "+14155550123"
}

Response

Destination suppressed

Changes

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