Skip to main content
POST
/
v1.0
/
subscribers
/
message-filter
Save Message Filter
curl --request POST \
  --url https://api.example.com/v1.0/subscribers/message-filter \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "FilterId": "<string>",
  "SubscriberId": "<string>",
  "Phone": "<string>",
  "FilterMode": "<string>",
  "AllowedContacts": [
    "<string>"
  ],
  "BlockedContacts": [
    "<string>"
  ],
  "KeywordFilter": "<string>",
  "NotificationPhones": [
    "<string>"
  ],
  "ApplyToOutbound": true,
  "ApplyToInbound": true,
  "BlockUnknownNumbers": true,
  "BlockLinks": true,
  "BlockMedia": true
}
'

Authorizations

Authorization
string
header
required

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

Body

Message_Filter_Request object

FilterId
string | null
SubscriberId
string | null
Phone
string | null
FilterMode
string | null
AllowedContacts
string[] | null
BlockedContacts
string[] | null
KeywordFilter
string | null
NotificationPhones
string[] | null
ApplyToOutbound
boolean
ApplyToInbound
boolean
BlockUnknownNumbers
boolean
BlockMedia
boolean

Response

200

Success