<?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>topic Conversation API &amp;gt; understand if the WhatsApp conversation is open in Developer Forum</title>
    <link>https://community.sinch.com/t5/Developer-Forum/Conversation-API-gt-understand-if-the-WhatsApp-conversation-is/m-p/15427#M84</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm building an integration using Conversation API specific for WHATSAPP channel.&lt;/P&gt;&lt;P&gt;We send both templated and non templated messages using endpoint&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;/messages:send&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I read both sinch and meta documentation about when a new conversation is open, depending on the message category and time frame (24h). I'm wondering if there is a way using api, to understand if the whatsapp conversation is still open for a certain category, to let the users know if they're in the time frame to contact their customers.&lt;/P&gt;&lt;P&gt;I see the endpoint:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;/conversations/{conversation_id}&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;having a field&amp;nbsp;&lt;STRONG&gt;active&amp;nbsp;&lt;/STRONG&gt;in the response, but I think this is not referring to the meta conversation, but is referring to the sinch conversation.&lt;/P&gt;&lt;P&gt;Any suggestion on how to retrieve (or calculate) this data in a easy way (maybe there is somewhere the timestamp of when the meta conversation start?)&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 09:07:56 GMT</pubDate>
    <dc:creator>dianac</dc:creator>
    <dc:date>2024-05-16T09:07:56Z</dc:date>
    <item>
      <title>Conversation API &gt; understand if the WhatsApp conversation is open</title>
      <link>https://community.sinch.com/t5/Developer-Forum/Conversation-API-gt-understand-if-the-WhatsApp-conversation-is/m-p/15427#M84</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm building an integration using Conversation API specific for WHATSAPP channel.&lt;/P&gt;&lt;P&gt;We send both templated and non templated messages using endpoint&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;/messages:send&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I read both sinch and meta documentation about when a new conversation is open, depending on the message category and time frame (24h). I'm wondering if there is a way using api, to understand if the whatsapp conversation is still open for a certain category, to let the users know if they're in the time frame to contact their customers.&lt;/P&gt;&lt;P&gt;I see the endpoint:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;/conversations/{conversation_id}&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;having a field&amp;nbsp;&lt;STRONG&gt;active&amp;nbsp;&lt;/STRONG&gt;in the response, but I think this is not referring to the meta conversation, but is referring to the sinch conversation.&lt;/P&gt;&lt;P&gt;Any suggestion on how to retrieve (or calculate) this data in a easy way (maybe there is somewhere the timestamp of when the meta conversation start?)&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 09:07:56 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/Conversation-API-gt-understand-if-the-WhatsApp-conversation-is/m-p/15427#M84</guid>
      <dc:creator>dianac</dc:creator>
      <dc:date>2024-05-16T09:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Conversation API &gt; understand if the WhatsApp conversation is open</title>
      <link>https://community.sinch.com/t5/Developer-Forum/Conversation-API-gt-understand-if-the-WhatsApp-conversation-is/m-p/15431#M85</link>
      <description>&lt;P&gt;Hello, thank you for reaching out!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe your understanding regarding our&amp;nbsp;&lt;CODE&gt;conversations&lt;/CODE&gt; endpoint is correct: the information returned from API calls made to this endpoint is specific to Sinch, and may not align with the corresponding WhatsApp conversation. I will confirm this with the product team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;That being said, you can determine when a WhatsApp conversation begins, the WhatsApp conversation to which a particular message belongs, and the pricing category of your WhatsApp conversations through &lt;A title="WhatsApp delivery receipts" href="https://developers.sinch.com/docs/conversation/channel-support/whatsapp/message-support/#receiving-pricing-model-information" target="_blank" rel="noopener"&gt;delivery receipts&lt;/A&gt;. Specifically, this information is included in delivery receipts for messages sent on the WhatsApp channel that reach a &lt;CODE&gt;DELIVERED&lt;/CODE&gt; status. I have summarized the relevant information below, but we encourage you to fully review the linked section above in order to determine what information is required to meet your needs.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;EM&gt; In order to receive delivery receipts, you must have at least one &lt;A title="webhook " href="https://community.sinch.com/t5/Conversation-API/How-to-add-a-webhook-to-a-Conversation-API-app/ta-p/8100" target="_blank" rel="noopener"&gt;webhook&lt;/A&gt; that is subscribed to the &lt;CODE&gt;MESSAGE_DELIVERY&lt;/CODE&gt; trigger.&amp;nbsp;&lt;SPAN&gt;You can create up to 5 webhooks per Conversation API app.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;BR /&gt;To inform the Conversation API user about the pricing of their WhatsApp conversation, delivery receipt callbacks with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;DELIVERED&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;status will populate the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;message_metadata&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;field&amp;nbsp;&lt;/SPAN&gt;with information about:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;pricing_category&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;, which is the pricing category for the conversation.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;whatsapp_conversation_id&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;, which is the WhatsApp conversation id (messages with the same id belong to the same conversation).&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;When the first delivery receipt with a&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;DELIVERED&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;status and a new&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;whatsapp_conversation_id&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;is received, the customer is charged for a new conversation in the conversation category. All messages sent to the recipient that are part of the same conversation within a 24-hour window don't incur additional charges. This information can be used to note when new WhatsApp conversations begin, and can be tracked in order to calculate how much time is left in a particular WhatsApp conversation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As I said, I'll reach out to the product team to see if there is any other relevant information I can share with you. I'll either update this post or message you directly with my findings. In the meantime, please feel free to add replies to this post if you have any other questions regarding this topic.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you again!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 15:03:08 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/Conversation-API-gt-understand-if-the-WhatsApp-conversation-is/m-p/15431#M85</guid>
      <dc:creator>Sam_Williams</dc:creator>
      <dc:date>2024-05-17T15:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Conversation API &gt; understand if the WhatsApp conversation is open</title>
      <link>https://community.sinch.com/t5/Developer-Forum/Conversation-API-gt-understand-if-the-WhatsApp-conversation-is/m-p/15435#M86</link>
      <description>&lt;P&gt;Thank you Sam!!&lt;/P&gt;&lt;P&gt;Your answer is very useful to me.&lt;/P&gt;&lt;P&gt;Can I add some other question regarding this topic?&lt;/P&gt;&lt;P&gt;Does the&amp;nbsp;&lt;EM&gt;MESSAGE_DELIVERY&lt;/EM&gt;&amp;nbsp; trigger notifies also the opening of &lt;STRONG&gt;service&lt;/STRONG&gt; and &lt;STRONG&gt;free entry point&lt;/STRONG&gt; conversations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 07:20:35 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/Conversation-API-gt-understand-if-the-WhatsApp-conversation-is/m-p/15435#M86</guid>
      <dc:creator>dianac</dc:creator>
      <dc:date>2024-05-17T07:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Conversation API &gt; understand if the WhatsApp conversation is open</title>
      <link>https://community.sinch.com/t5/Developer-Forum/Conversation-API-gt-understand-if-the-WhatsApp-conversation-is/m-p/15436#M87</link>
      <description>&lt;P&gt;No problem, happy to help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your follow-up question: the &lt;CODE&gt;MESSAGE_DELIVERY&lt;/CODE&gt; trigger delivers receipts for most messages sent using the Conversation API. This includes messages that belong to paid WhatsApp conversation types, messages that belong to&amp;nbsp;&lt;STRONG&gt;service&lt;/STRONG&gt; or&amp;nbsp;&lt;STRONG&gt;free entry point&lt;/STRONG&gt; WhatsApp conversation types, and&amp;nbsp;other messages that are sent on any of the &lt;A title="supported Conversation API channels" href="https://developers.sinch.com/docs/conversation/channel-support/" target="_blank" rel="noopener"&gt;supported Conversation API channels&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, the&amp;nbsp;&lt;CODE&gt;message_metadata&lt;/CODE&gt; field will indicate when a message belongs to a&amp;nbsp;&lt;STRONG&gt;service&lt;/STRONG&gt; or&amp;nbsp;&lt;STRONG&gt;free entry point&lt;/STRONG&gt; conversation. An example of a receipt that corresponds to a message sent during a&amp;nbsp;&lt;STRONG&gt;service&lt;/STRONG&gt; conversation can be seen in our &lt;A title="documentation on receiving WhatsApp pricing information in delivery receipts" href="https://developers.sinch.com/docs/conversation/channel-support/whatsapp/message-support/#receiving-pricing-model-information" target="_blank" rel="noopener"&gt;documentation on receiving WhatsApp pricing information in delivery receipts&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may also want to review &lt;A title="Meta's rules regarding free entry point conversations" href="https://developers.facebook.com/docs/whatsapp/pricing#free-entry-point-conversations" target="_blank" rel="noopener"&gt;Meta's rules regarding free entry point conversations&lt;/A&gt;, as some of the corresponding time limits appear to be different than other conversation types. Specifically, it looks like&amp;nbsp;&lt;STRONG&gt;free entry point&lt;/STRONG&gt; conversations last 72 hours, rather than 24 hours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if you have any other questions. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 15:02:46 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/Conversation-API-gt-understand-if-the-WhatsApp-conversation-is/m-p/15436#M87</guid>
      <dc:creator>Sam_Williams</dc:creator>
      <dc:date>2024-05-17T15:02:46Z</dc:date>
    </item>
  </channel>
</rss>

