Update Message Filter
Modify an existing message filter without deleting and recreating it.
Prerequisites:
- Bearer token —
POST /v1.0/oauth2/tokens - An existing
MessageFilterId(MFID-) — find one withGET /v1.0/subscribers/message-filter
What this does: Replaces the configuration of the specified filter. Use this to switch modes (e.g., MONITOR_ONLY → ACTIVE to start enforcing rules), update contact lists, adjust keyword settings, or toggle link/media/unknown-number restrictions. Changes take effect immediately.
Next steps:
- Verify the change —
GET /v1.0/subscribers/message-filter - Pause without deleting — set
FilterModetoINACTIVEand call this endpoint again - Permanently remove —
POST /v1.0/subscribers/message-filter/delete
Documentation Index
Fetch the complete documentation index at: https://docs.telegent.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
The Message Filter ID you want to update. Format: MFID- followed by a UUID.
"MFID-7435d672-a2d0-451e-ab62-45499f5bc7a1"
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.
Phone number this filter applies to. Use E.164 format (e.g., +15555555555). Required even when SubscriberId is provided.
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 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.
Response
Message Filter Updated
The response is of type object.