<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Can I automatically manage opt-outs for Conversation API? in Conversation API</title>
    <link>https://community.sinch.com/t5/Conversation-API/Can-I-automatically-manage-opt-outs-for-Conversation-API/ta-p/18969</link>
    <description>&lt;P&gt;Ensuring that you keep track of which customers &lt;A title="opt-in" href="https://community.sinch.com/t5/Conversation-API/Can-I-automatically-manage-opt-ins-for-Conversation-API/ta-p/18970" target="_blank" rel="noopener"&gt;opt-in&lt;/A&gt; and opt-out of different messaging campaigns is essential.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The &lt;A href="https://developers.sinch.com/docs/conversation/consent-management" target="_blank" rel="noopener"&gt;consent management functionality of Conversation API&lt;/A&gt; allows you to manage the registration of opt-out messages sent by your end-users. It does so by checking the text content of inbound messages, matching that content with a set of pre-defined opt-out phrases, and, upon identifying a match, adding the corresponding contact to one of the specific opt-out categories described below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;&lt;STRONG&gt;Category&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="50%"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;&lt;SPAN&gt;&lt;CODE&gt;OPT_OUT_ALL&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="50%"&gt;&lt;SPAN&gt;This is the standard opt-out, and it blocks sending for all message types when consent management is used in Primary mode.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;&lt;SPAN&gt;&lt;CODE&gt;OPT_OUT_MARKETING&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="50%"&gt;&lt;SPAN&gt;This opt-out type blocks only marketing messages when consent management is used in Primary mode. Marketing messages are defined as messages that have the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;field set to&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;CONTENT_MARKETING&lt;/CODE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;SPAN&gt;&lt;CODE&gt;OPT_OUT_NOTIFICATION&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;SPAN&gt;This opt-out type blocks only notification messages when consent management is used in Primary mode. Notification messages are defined as messages that have the&amp;nbsp;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&amp;nbsp;field set to&amp;nbsp;&lt;CODE&gt;CONTENT_NOTIFICATION&lt;/CODE&gt;.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Note:&amp;nbsp; &lt;/STRONG&gt;Populating the&amp;nbsp;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&amp;nbsp;field is optional when sending messages. However, to classify messages accurately, it's considered a best practice to populate the&amp;nbsp;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&amp;nbsp;field. This allows the system to identify whether a message is marketing or notification-related.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If no content type is passed on the messages, the consent management functionality will assign the message to the&amp;nbsp;&lt;CODE&gt;OPT_OUT_ALL&lt;/CODE&gt;&amp;nbsp;list.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once enabled, the consent management functionality will start processing mobile originated messages.&amp;nbsp;&lt;SPAN&gt;For all mobile originated messages, the consent management functionality will check for the presence of keywords that identify the message is an opt-in or opt-out message, and associate the message with a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" title="list categories" href="https://developers.sinch.com/docs/conversation/consent-management#consent-management-lists" target="_blank" rel="noopener"&gt;list category&lt;/A&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Note the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;The system checks for an exact match. So, for example, if the keyword&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;stop&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is set as the opt-out keyword, a message containing the text&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;stop&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will trigger the consent management functionality. However, a message containing the text&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;stop now please&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;trigger the functionality.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The consent management matching process is case insensitive, so text like&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;Stop&lt;/CODE&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;STOP&lt;/CODE&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;stoP&lt;/CODE&gt;, etc. would all trigger the functionality in this example case.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;If no keywords are provided, a default keyword list is provided. For more information about how to customize keywords or auto-replies, see our &lt;A title="article on keyword and auto-reply customization" href="https://community.sinch.com/t5/Conversation-API/Can-I-customize-opt-in-and-opt-out-keywords-for-use-with-consent/ta-p/18980" target="_blank" rel="noopener"&gt;article on keyword and auto-reply customization&lt;/A&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;After a contact has been added to an opt-out list category, Conversation API will process messages sent to that contact based on the corresponding&amp;nbsp;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&amp;nbsp;value and the &lt;A title="mode of your consent management functionality" href="https://developers.sinch.com/docs/conversation/consent-management#consent-processing-types-explanation" target="_blank" rel="noopener"&gt;mode of your consent management functionality:&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;In Primary mode, messages directed to an opted-out contact will be blocked and&amp;nbsp;an&amp;nbsp;&lt;A href="https://developers.sinch.com/docs/conversation/callbacks/#opt-out" target="_blank" rel="noopener"&gt;opt-out callback&lt;/A&gt;&amp;nbsp;is delivered to your system via webhook trigger.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;In Secondary mode, no blocking by Sinch is performed. The presence of an opt-in or opt-out keyword triggers the functionality when it is the sole element within an inbound, mobile originated message. The notification will then be sent via the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.sinch.com/docs/conversation/callbacks/#opt-out" target="_blank" rel="noopener"&gt;Opt-out&lt;/A&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.sinch.com/docs/conversation/callbacks/#opt-in" target="_blank" rel="noopener"&gt;Opt-in&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;webhook triggers.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Customers are required to take actions in their triggering application to prevent it from sending future messages to recipients that asked for opt-out.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;To activate this functionality, see our article &lt;A title="How do I activate consent management?" href="https://community.sinch.com/t5/Conversation-API/How-do-I-activate-consent-management-functionality-for-my/ta-p/18968" target="_blank" rel="noopener"&gt;How do I activate consent management?&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For information on Conversation API's &lt;CODE&gt;consents&lt;/CODE&gt; endpoint, see our &lt;A title="API reference documentation" href="https://developers.sinch.com/docs/conversation/api-reference/conversation/consent" target="_blank" rel="noopener"&gt;API reference documentation&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;A href="https://www.sinch.com/products/apis/messaging/conversation-api/" target="_blank" rel="noopener noreferrer"&gt;Learn more about Sinch Conversation API&lt;/A&gt;.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2025 16:05:23 GMT</pubDate>
    <dc:creator>Sam_Williams</dc:creator>
    <dc:date>2025-11-17T16:05:23Z</dc:date>
    <item>
      <title>Can I automatically manage opt-outs for Conversation API?</title>
      <link>https://community.sinch.com/t5/Conversation-API/Can-I-automatically-manage-opt-outs-for-Conversation-API/ta-p/18969</link>
      <description>&lt;P&gt;Ensuring that you keep track of which customers &lt;A title="opt-in" href="https://community.sinch.com/t5/Conversation-API/Can-I-automatically-manage-opt-ins-for-Conversation-API/ta-p/18970" target="_blank" rel="noopener"&gt;opt-in&lt;/A&gt; and opt-out of different messaging campaigns is essential.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The &lt;A href="https://developers.sinch.com/docs/conversation/consent-management" target="_blank" rel="noopener"&gt;consent management functionality of Conversation API&lt;/A&gt; allows you to manage the registration of opt-out messages sent by your end-users. It does so by checking the text content of inbound messages, matching that content with a set of pre-defined opt-out phrases, and, upon identifying a match, adding the corresponding contact to one of the specific opt-out categories described below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;&lt;STRONG&gt;Category&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="50%"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;&lt;SPAN&gt;&lt;CODE&gt;OPT_OUT_ALL&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="50%"&gt;&lt;SPAN&gt;This is the standard opt-out, and it blocks sending for all message types when consent management is used in Primary mode.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;&lt;SPAN&gt;&lt;CODE&gt;OPT_OUT_MARKETING&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="50%"&gt;&lt;SPAN&gt;This opt-out type blocks only marketing messages when consent management is used in Primary mode. Marketing messages are defined as messages that have the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;field set to&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;CONTENT_MARKETING&lt;/CODE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;SPAN&gt;&lt;CODE&gt;OPT_OUT_NOTIFICATION&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;SPAN&gt;This opt-out type blocks only notification messages when consent management is used in Primary mode. Notification messages are defined as messages that have the&amp;nbsp;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&amp;nbsp;field set to&amp;nbsp;&lt;CODE&gt;CONTENT_NOTIFICATION&lt;/CODE&gt;.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Note:&amp;nbsp; &lt;/STRONG&gt;Populating the&amp;nbsp;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&amp;nbsp;field is optional when sending messages. However, to classify messages accurately, it's considered a best practice to populate the&amp;nbsp;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&amp;nbsp;field. This allows the system to identify whether a message is marketing or notification-related.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If no content type is passed on the messages, the consent management functionality will assign the message to the&amp;nbsp;&lt;CODE&gt;OPT_OUT_ALL&lt;/CODE&gt;&amp;nbsp;list.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once enabled, the consent management functionality will start processing mobile originated messages.&amp;nbsp;&lt;SPAN&gt;For all mobile originated messages, the consent management functionality will check for the presence of keywords that identify the message is an opt-in or opt-out message, and associate the message with a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" title="list categories" href="https://developers.sinch.com/docs/conversation/consent-management#consent-management-lists" target="_blank" rel="noopener"&gt;list category&lt;/A&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Note the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;The system checks for an exact match. So, for example, if the keyword&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;stop&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is set as the opt-out keyword, a message containing the text&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;stop&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will trigger the consent management functionality. However, a message containing the text&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;stop now please&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;trigger the functionality.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The consent management matching process is case insensitive, so text like&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;Stop&lt;/CODE&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;STOP&lt;/CODE&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;stoP&lt;/CODE&gt;, etc. would all trigger the functionality in this example case.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;If no keywords are provided, a default keyword list is provided. For more information about how to customize keywords or auto-replies, see our &lt;A title="article on keyword and auto-reply customization" href="https://community.sinch.com/t5/Conversation-API/Can-I-customize-opt-in-and-opt-out-keywords-for-use-with-consent/ta-p/18980" target="_blank" rel="noopener"&gt;article on keyword and auto-reply customization&lt;/A&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;After a contact has been added to an opt-out list category, Conversation API will process messages sent to that contact based on the corresponding&amp;nbsp;&lt;CODE&gt;message_content_type&lt;/CODE&gt;&amp;nbsp;value and the &lt;A title="mode of your consent management functionality" href="https://developers.sinch.com/docs/conversation/consent-management#consent-processing-types-explanation" target="_blank" rel="noopener"&gt;mode of your consent management functionality:&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;In Primary mode, messages directed to an opted-out contact will be blocked and&amp;nbsp;an&amp;nbsp;&lt;A href="https://developers.sinch.com/docs/conversation/callbacks/#opt-out" target="_blank" rel="noopener"&gt;opt-out callback&lt;/A&gt;&amp;nbsp;is delivered to your system via webhook trigger.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;In Secondary mode, no blocking by Sinch is performed. The presence of an opt-in or opt-out keyword triggers the functionality when it is the sole element within an inbound, mobile originated message. The notification will then be sent via the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.sinch.com/docs/conversation/callbacks/#opt-out" target="_blank" rel="noopener"&gt;Opt-out&lt;/A&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.sinch.com/docs/conversation/callbacks/#opt-in" target="_blank" rel="noopener"&gt;Opt-in&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;webhook triggers.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Customers are required to take actions in their triggering application to prevent it from sending future messages to recipients that asked for opt-out.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;To activate this functionality, see our article &lt;A title="How do I activate consent management?" href="https://community.sinch.com/t5/Conversation-API/How-do-I-activate-consent-management-functionality-for-my/ta-p/18968" target="_blank" rel="noopener"&gt;How do I activate consent management?&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For information on Conversation API's &lt;CODE&gt;consents&lt;/CODE&gt; endpoint, see our &lt;A title="API reference documentation" href="https://developers.sinch.com/docs/conversation/api-reference/conversation/consent" target="_blank" rel="noopener"&gt;API reference documentation&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;A href="https://www.sinch.com/products/apis/messaging/conversation-api/" target="_blank" rel="noopener noreferrer"&gt;Learn more about Sinch Conversation API&lt;/A&gt;.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 16:05:23 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Conversation-API/Can-I-automatically-manage-opt-outs-for-Conversation-API/ta-p/18969</guid>
      <dc:creator>Sam_Williams</dc:creator>
      <dc:date>2025-11-17T16:05:23Z</dc:date>
    </item>
  </channel>
</rss>

