Skip to main content
POST
/
v1.0
/
subscribers
/
call-filter
Save Call Filter
curl --request POST \
  --url https://api.example.com/v1.0/subscribers/call-filter \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "FilterId": "<string>",
  "SubscriberId": "<string>",
  "Phone": "<string>",
  "FilterMode": "<string>",
  "AllowedNumbers": [
    "<string>"
  ],
  "BlockedNumbers": [
    "<string>"
  ],
  "EnableTranscription": true,
  "KeywordFilter": "<string>",
  "TranscriptionAction": "<string>",
  "WarningMessage": "<string>",
  "NotificationPhones": [
    "<string>"
  ],
  "ApplyToOutbound": true,
  "ApplyToInbound": true,
  "BlockUnknownNumbers": true,
  "BlockInternational": true,
  "RecordFlaggedCalls": true,
  "TimeRestrictions": "<string>"
}
'

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Obtain token from /v1.0/OAuth2/tokens endpoint.

Body

Call_Filter_Request object

FilterId
string | null
SubscriberId
string | null
Phone
string | null
FilterMode
string | null
AllowedNumbers
string[] | null
BlockedNumbers
string[] | null
EnableTranscription
boolean
KeywordFilter
string | null
TranscriptionAction
string | null
WarningMessage
string | null
NotificationPhones
string[] | null
ApplyToOutbound
boolean
ApplyToInbound
boolean
BlockUnknownNumbers
boolean
BlockInternational
boolean
RecordFlaggedCalls
boolean
TimeRestrictions
string | null

Response

200

Success