Create a new message filter that controls what messages a subscriber can send and receive.
Prerequisites:
POST /v1.0/oauth2/tokensTSUID-) — POST /v1.0/subscribers/createPOST /v1.0/subscribers/guardian-featuresWhat this does: Creates a filter and returns a MessageFilterId (MFID-). The filter applies to the specified phone number. Configure mode (ACTIVE/MONITOR_ONLY/INACTIVE), allowed/blocked contacts, keyword rules, and restrictions on links, media, and unknown numbers. The filter takes effect immediately.
Next steps:
GET /v1.0/subscribers/message-filterPOST /v1.0/subscribers/message-filter/allowed-contacts/addPOST /v1.0/subscribers/message-filter/blocked-contacts/addGET /v1.0/subscribers/message-filter/keywordsPOST /v1.0/subscribers/message-filter/updateDocumentation Index
Fetch the complete documentation index at: https://docs.telegent.com/llms.txt
Use this file to discover all available pages before exploring further.
Enter the token obtained from the Authentication endpoint
Telegent Subscriber ID. Format: TSUID- followed by a UUID. Create one via POST /v1.0/subscribers/create or look up existing IDs with GET /v1.0/subscribers/get.
"TSUID-C7AB61E0-9AD9-4512-ACA8-EDA284131441"
Phone number this filter applies to. Use E.164 format (e.g., +15555555555). Required even when SubscriberId is provided.
"+1234567890"
Controls how the filter behaves. ACTIVE: rules are enforced — messages that violate the filter are blocked. MONITOR_ONLY: violations are logged and notifications are sent, but messages are still delivered. INACTIVE: filter is paused and has no effect.
ACTIVE, MONITOR_ONLY, INACTIVE "ACTIVE"
Phone numbers (E.164 format) that bypass content filtering. Messages from these contacts are always delivered without keyword, link, or media checks.
Phone numbers (E.164 format) blocked from messaging this subscriber. Messages are silently dropped — the sender receives no error.
Stringified JSON defining keyword rules. Structure: {"CustomKeywords":[...],"SystemKeywords":{"Profanity":[...],"Violence":[...]},"SeverityMap":{"keyword":"HIGH|MEDIUM|LOW"}}. CustomKeywords are user-added words; SystemKeywords are platform-provided categories; SeverityMap assigns a risk level to each term.
Phone numbers (E.164 format) that receive an SMS alert when this filter triggers. Typically used for a guardian's phone to be notified about activity on a child's account.
If true, filtering applies to messages the subscriber sends out.
If true, filtering applies to messages the subscriber receives.
If true, messages from any number not on the allowed contacts list are blocked.
If true, messages that contain URLs are blocked.
If true, MMS messages with media attachments (images, video, audio) are blocked.
Message Filter Created
The response is of type object.