logo

Opt-Ins and Opt-Outs

⚠️ Important: The information provided herein does not constitute legal advice. Opt-in and opt-out mechanisms are designed to assist Telgorithm customers in managing user consent for receiving messages. However, no guarantees are made regarding the sufficiency of these measures from a compliance standpoint. It is the customer's responsibility to obtain the legally required consent from end users to receive messages and to process opt-outs in accordance with applicable laws.

What are Opt-Ins and Opt-Outs?

  • Opt-out: When a recipient chooses not to receive further messages, they are considered "opted out". This prevents the sender from sending additional messages to the recipient.
  • Opt-in: When a recipient who has opted out chooses to start receiving messages again, or has no recorded opt-out in Telgorithm, they are considered opted in.

For Telgorithm delivery-state purposes, recipients are treated as eligible to receive messages unless an opt-out has been recorded. Customers remain responsible for obtaining any legally required consent before messaging recipients.

Sending Messages to Opted-Out Recipients

When a message is sent to a recipient who has opted out, the outbound message fails with the dedicated error code 1002: RecipientOptedOut. The message is not delivered, and integrations can use this error code to detect and handle opted-out recipients.

Opt-In and Opt-Out Settings

Opt-In and Opt-Out settings define the keywords and auto-reply messages used for opt-in, opt-out, and help workflows on a Messaging Config. These settings can use custom values from the Messaging Config or available values from the linked TCR campaign.

The following standard keywords are always active. Customers do not need to configure them manually, and they cannot be disabled or reassigned to another action.

ActionStandard keywords
Opt-outSTOP, QUIT, END, UNSUBSCRIBE
Opt-inSTART, UNSTOP
HelpHELP

Keyword matching is case-insensitive. For example, stop, Stop, and STOP all trigger the opt-out workflow.

Default Auto-Reply Messages

Telgorithm sends default auto-reply messages when no custom message is configured, or when TCR settings do not provide a message for the matching action.

ActionDefault message
Opt-outYou are unsubscribed. You will no longer receive messages from this sender. Reply START to resubscribe. Msg & data rates may apply.
Opt-inYou are subscribed to messages from this sender. Msg frequency varies. Reply HELP for help or STOP to unsubscribe. Msg & data rates may apply.
HelpReply STOP to unsubscribe. Msg & data rates may apply.

How Opt-In and Opt-Out Settings Work

Opt-In and Opt-Out settings can be managed on a Messaging Config. Customers can either configure values directly on the Messaging Config or sync available values from the linked TCR campaign.

YesNoNoYesInbound messageNormalize textUse TCR Settings?Standard + TCR keywordsStandard + custom keywordsKeyword match?Normal handlingApply workflowSend auto-reply

Configuration Modes

Use Custom Messaging Config Settings

When UseTCRSettings is off, the Messaging Config is the source of custom opt-in and opt-out behavior. Standard Telgorithm keywords remain active, and any custom keywords or messages on the Messaging Config are applied on top of those defaults.

SettingBehavior
KeywordsTelgorithm matches standard keywords plus any custom keywords configured on the Messaging Config.
Auto-reply messagesTelgorithm sends the custom Messaging Config message when one is configured. If no custom message is set for the action, Telgorithm sends the default message.

For example, if a Messaging Config adds CONTINUE and RESUME as custom opt-in keywords, the effective opt-in keyword list becomes:

START, UNSTOP, CONTINUE, RESUME

Use TCR Campaign Settings

When UseTCRSettings is on, Telgorithm uses values for opt-in, opt-out, and help workflows from the linked TCR campaign where they are available. Standard keywords remain active, and Telgorithm falls back to default messages when the TCR campaign does not provide a message for the detected action.

SettingBehavior
KeywordsTelgorithm matches standard keywords plus available TCR campaign keywords. Duplicate keywords are removed.
Auto-reply messagesTelgorithm sends the TCR campaign message when one is available for the action. If the TCR campaign does not provide that message, Telgorithm sends the default message.

For example, if the linked TCR campaign defines STOP and OPTOUT as opt-out keywords, the effective opt-out keyword list becomes:

STOP, QUIT, END, UNSUBSCRIBE, OPTOUT

Auto-Reply Message Priority

OnYesNoOffYesNoDetected actionUse TCR?TCR msg?TCR replyDefault replyCustom msg?Custom reply

How Recipients Opt In, Opt Out, or Request Help

Recipient actionHow it is triggeredAuto-reply behavior
Opt-outRecipient sends STOP, QUIT, END, UNSUBSCRIBE, or a configured custom opt-out keyword.Telgorithm sends the configured opt-out message, or the default opt-out message if no custom or TCR message applies.
Opt-inRecipient sends START, UNSTOP, or a configured custom opt-in keyword.Telgorithm sends the configured opt-in message, or the default opt-in message if no custom or TCR message applies.
HelpRecipient sends HELP or a configured custom Help keyword.Telgorithm sends the configured Help message, or the default Help message if no custom or TCR message applies.

Single vs. Double Opt-Outs

When a recipient opts out, they stop receiving messages either from a specific sender phone number or from both the sender phone number and its associated TCR campaign.

No or toll-freeYesOpt-out keywordTCR campaign?Single opt-outPhone number scopeDouble opt-outPhone number scopeTCR campaign scope
  • Single opt-out: If the sender's phone number is not associated with a TCR campaign, or is toll-free, the recipient is opted out only from the sender's phone number.
  • Double opt-out: If the sender's phone number is associated with a TCR campaign, the recipient is opted out from both the sender's phone number and the TCR campaign. A TCR campaign-level opt-out applies to messages sent from any sender phone number associated with that TCR campaign.

Note: When a Phone Number is deallocated from the account or later restored, corresponding opt-outs are not lost and are restored along with the Phone Number. Recipients who had opted out from the Phone Number and its former TCR Campaign will need to opt in again to continue receiving messages.

Webhooks for Opt-In and Opt-Out Events

Opt-in and opt-out webhooks are Messaging Config Webhooks. For a given Phone Number, webhooks are dispatched according to the Messaging Config currently associated with that Phone Number.

Single Opt-In and Opt-Out

One webhook is sent:

{
...
"ScopeType": "SenderPhoneNumber",
"Scope": "+11234567890",
...
}

Double Opt-In and Opt-Out

Two webhooks are sent.

Phone number-level scope:

{
...
"ScopeType": "SenderPhoneNumber",
"Scope": "+11234567890",
...
}

TCR campaign-level scope:

{
...
"ScopeType": "TcrCampaign",
"Scope": "C123456",
...
}

For full examples of the webhook payload please refer to the Webhook Samples.

Migrating Opt-Outs from Another Provider

APIs are available that allow the import of opt-outs, such as when migrating from another provider. Please refer to the Opt-Outs API Documentation for more details.

Feature Availability

Opt-in and opt-out handling is enabled by default. The support team can disable it for an entire account on request. This account-level setting is separate from the per-Messaging Config keyword and message settings described above: it turns the whole workflow on or off rather than adjusting individual keywords.

Note: While the feature is disabled, no opt-in or opt-out logic is applied. Every recipient is treated as eligible to receive messages regardless of prior history or any stop words they send. Customers remain responsible for honoring opt-outs and maintaining any required suppression records outside of Telgorithm.