<?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 Not able to set &amp;quot;allowUserInput&amp;quot; field to &amp;quot;true&amp;quot; in Conversation API. in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Not-able-to-set-quot-allowUserInput-quot-field-to-quot-true-quot/m-p/1028883#M75937</link>
    <description>&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm building a bot using the Conversations API, and I'm facing an issue with quick replies. When I send quick replies using the API (&lt;/SPAN&gt;https://api.hubapi.com/conversations/v3/conversations/threads/${threadId}/messages&lt;SPAN&gt;), the user can't type in the chat, even though I've set the&amp;nbsp;&lt;/SPAN&gt;allowUserInput&lt;SPAN&gt;&amp;nbsp;property to&amp;nbsp;&lt;/SPAN&gt;true&lt;SPAN&gt;&amp;nbsp;in the attachments. Has anyone encountered this before, or know how to enable both quick replies and text input simultaneously?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;Here’s the payload I’m sending:&lt;DIV class=""&gt;&amp;nbsp;&lt;PRE&gt;&lt;SPAN class=""&gt;{
            type&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"MESSAGE"&lt;SPAN class=""&gt;,
            text&lt;SPAN class=""&gt;: botMessage&lt;SPAN class=""&gt;,
            senderActorId&lt;SPAN class=""&gt;: senderActorId&lt;SPAN class=""&gt;,
            channelId&lt;SPAN class=""&gt;: channelId&lt;SPAN class=""&gt;,
            channelAccountId&lt;SPAN class=""&gt;: channelAccountId&lt;SPAN class=""&gt;,
            attachments&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;[
                &lt;SPAN class=""&gt;{
                    type&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"QUICK_REPLIES"&lt;SPAN class=""&gt;,
                    quickReplies&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;[
                        &lt;SPAN class=""&gt;{
                            label&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"Yes"&lt;SPAN class=""&gt;,
                            value&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"Yes"&lt;SPAN class=""&gt;,
                            valueType&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"TEXT"
                        &lt;SPAN class=""&gt;}&lt;SPAN class=""&gt;,
                        &lt;SPAN class=""&gt;{
                            label&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"No"&lt;SPAN class=""&gt;,
                            value&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"No"&lt;SPAN class=""&gt;,
                            valueType&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"TEXT"
                        &lt;SPAN class=""&gt;}&lt;SPAN class=""&gt;,
                       
                    &lt;SPAN class=""&gt;]&lt;SPAN class=""&gt;,
                    allowUserInput&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;true&lt;SPAN class=""&gt;,  
                    allowMultiSelect&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;false
                &lt;SPAN class=""&gt;}&lt;SPAN class=""&gt;,

            &lt;SPAN class=""&gt;]&lt;SPAN class=""&gt;,
        &lt;SPAN class=""&gt;}&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV class=""&gt;It seems like everything should be correct, but I'm still encountering this issue.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 19 Aug 2024 10:16:29 GMT</pubDate>
    <dc:creator>HZubair</dc:creator>
    <dc:date>2024-08-19T10:16:29Z</dc:date>
    <item>
      <title>Not able to set "allowUserInput" field to "true" in Conversation API.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Not-able-to-set-quot-allowUserInput-quot-field-to-quot-true-quot/m-p/1028883#M75937</link>
      <description>&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm building a bot using the Conversations API, and I'm facing an issue with quick replies. When I send quick replies using the API (&lt;/SPAN&gt;https://api.hubapi.com/conversations/v3/conversations/threads/${threadId}/messages&lt;SPAN&gt;), the user can't type in the chat, even though I've set the&amp;nbsp;&lt;/SPAN&gt;allowUserInput&lt;SPAN&gt;&amp;nbsp;property to&amp;nbsp;&lt;/SPAN&gt;true&lt;SPAN&gt;&amp;nbsp;in the attachments. Has anyone encountered this before, or know how to enable both quick replies and text input simultaneously?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;Here’s the payload I’m sending:&lt;DIV class=""&gt;&amp;nbsp;&lt;PRE&gt;&lt;SPAN class=""&gt;{
            type&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"MESSAGE"&lt;SPAN class=""&gt;,
            text&lt;SPAN class=""&gt;: botMessage&lt;SPAN class=""&gt;,
            senderActorId&lt;SPAN class=""&gt;: senderActorId&lt;SPAN class=""&gt;,
            channelId&lt;SPAN class=""&gt;: channelId&lt;SPAN class=""&gt;,
            channelAccountId&lt;SPAN class=""&gt;: channelAccountId&lt;SPAN class=""&gt;,
            attachments&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;[
                &lt;SPAN class=""&gt;{
                    type&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"QUICK_REPLIES"&lt;SPAN class=""&gt;,
                    quickReplies&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;[
                        &lt;SPAN class=""&gt;{
                            label&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"Yes"&lt;SPAN class=""&gt;,
                            value&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"Yes"&lt;SPAN class=""&gt;,
                            valueType&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"TEXT"
                        &lt;SPAN class=""&gt;}&lt;SPAN class=""&gt;,
                        &lt;SPAN class=""&gt;{
                            label&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"No"&lt;SPAN class=""&gt;,
                            value&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"No"&lt;SPAN class=""&gt;,
                            valueType&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"TEXT"
                        &lt;SPAN class=""&gt;}&lt;SPAN class=""&gt;,
                       
                    &lt;SPAN class=""&gt;]&lt;SPAN class=""&gt;,
                    allowUserInput&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;true&lt;SPAN class=""&gt;,  
                    allowMultiSelect&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;false
                &lt;SPAN class=""&gt;}&lt;SPAN class=""&gt;,

            &lt;SPAN class=""&gt;]&lt;SPAN class=""&gt;,
        &lt;SPAN class=""&gt;}&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV class=""&gt;It seems like everything should be correct, but I'm still encountering this issue.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Aug 2024 10:16:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Not-able-to-set-quot-allowUserInput-quot-field-to-quot-true-quot/m-p/1028883#M75937</guid>
      <dc:creator>HZubair</dc:creator>
      <dc:date>2024-08-19T10:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to set "allowUserInput" field to "true" in Conversation API.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Not-able-to-set-quot-allowUserInput-quot-field-to-quot-true-quot/m-p/1029255#M75952</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/806015"&gt;@HZubair&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thank you very much for your question and for including your details in the post. I'd like to invite some of our community members to the conversation — hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/711889"&gt;@Humashankar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;, do&amp;nbsp;you have any experience here?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for taking a look! — Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 22:37:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Not-able-to-set-quot-allowUserInput-quot-field-to-quot-true-quot/m-p/1029255#M75952</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-08-19T22:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to set "allowUserInput" field to "true" in Conversation API.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Not-able-to-set-quot-allowUserInput-quot-field-to-quot-true-quot/m-p/1030380#M76029</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/806015"&gt;@HZubair&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try setting allowUserInput at the message level, not just within the attachment.&lt;/P&gt;
&lt;P&gt;Add "allowUserInput": true to the main message object, like this.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;{&lt;BR /&gt;"type": "MESSAGE",&lt;BR /&gt;"text": botMessage,&lt;BR /&gt;"senderActorId": senderActorId,&lt;BR /&gt;"channelId": channelId,&lt;BR /&gt;"channelAccountId": channelAccountId,&lt;BR /&gt;"allowUserInput": true, // Add this line&lt;BR /&gt;"attachments": [&lt;BR /&gt;{&lt;BR /&gt;"type": "QUICK_REPLIES",&lt;BR /&gt;"quickReplies": [&lt;BR /&gt;{&lt;BR /&gt;"label": "Yes",&lt;BR /&gt;"value": "Yes",&lt;BR /&gt;"valueType": "TEXT"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"label": "No",&lt;BR /&gt;"value": "No",&lt;BR /&gt;"valueType": "TEXT"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"allowUserInput": true,&lt;BR /&gt;"allowMultiSelect": false&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This should enable both quick replies and text input simultaneously.&lt;/P&gt;
&lt;P&gt;Can you give a try.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Hope this helps - Happy to help further!!&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Thank you very much and have a great one!&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Warm regards&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 17:30:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Not-able-to-set-quot-allowUserInput-quot-field-to-quot-true-quot/m-p/1030380#M76029</guid>
      <dc:creator>Humashankar</dc:creator>
      <dc:date>2024-08-21T17:30:35Z</dc:date>
    </item>
  </channel>
</rss>

