# Attendees\_can\_comment returning false

**URL:** <https://devforum.zoom.us/t/attendees-can-comment-returning-false/75570>\
**Category:** Webinars\
**Tags:** webinar\
**Created:** [September 8, 2022, 2:40am UTC](https://devforum.zoom.us/t/attendees-can-comment-returning-false/75570 "2022-09-08T02:40:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![philipp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/philipp/32/41162_2.png) [@philipp](https://devforum.zoom.us/u/philipp)\
**Post date:** [September 8, 2022, 2:40am UTC](https://devforum.zoom.us/t/attendees-can-comment-returning-false/75570/1 "2022-09-08T02:40:08Z")

</div>

As I create a webinar via API, I’m trying to enable attendees comment for webinar Q&A but the response is returning “false” although I’m passing “true” for “attendees\_can\_comment”.

All the other settings seems to be OK.

Isn’t this some kind of bug?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [September 8, 2022, 4:59pm UTC](https://devforum.zoom.us/t/attendees-can-comment-returning-false/75570/2 "2022-09-08T16:59:15Z")

</div>

Hi @philipp  
Thanks for reaching out to the Zoom Developer Forum!  
Could you please share with me the request body that you are passing so I can try and replicate this issue further?  
Thanks,  
Elisa

---

<div class="post-metadata">

**Author:** ![philipp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/philipp/32/41162_2.png) [@philipp](https://devforum.zoom.us/u/philipp)\
**Post date:** [September 8, 2022, 10:40pm UTC](https://devforum.zoom.us/t/attendees-can-comment-returning-false/75570/3 "2022-09-08T22:40:51Z")

</div>

Hi @elisa.zoom .  
Thanks for your reply.

The request body that I’m passing is below:

```auto
$webinar = new Webinar();
$data = [
  'topic' => "My Webinar",
  'type' => 5,
  'agenda' => "Here is my webinar!",
  'start_time' => date('n月j日') ."T20:00:00",
  'settings' => [
    'host_video' => true,
    'panelists_video' => true,
    'practice_session' => true,
    'hd_video' => true,
    'approval_type' => 0,
    'audio' => 'voip',
    'auto_recording' => 'local',
    'close_registration' => true,
    'show_share_button' => true,
    'question_and_answer' => [
      'attendees_can_comment' => true,
    ]
  ]
];
$webinar = $webinar->create($data);

```

Hope you can find something.  
Thank you.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [September 9, 2022, 4:55pm UTC](https://devforum.zoom.us/t/attendees-can-comment-returning-false/75570/4 "2022-09-09T16:55:41Z")

</div>

Hi @philipp  
Thanks for sharing this with me.  
I was able to do some debugging on my end and it looks like if you pass the field “answer\_questions” with the value “all” in your question\_and\_asnwer object, along with the “attendees\_can\_comment” set to true, then it will respect the value.

Let me know if this does the trick for you:

```auto
{
    "topic" : "My test",
    "type" : 5,
    "agenda" : "Here is my webinar",
    "start_time" : "2022-11-01T00:00:00Z",
    "settings" : {
        "host_video": true, 
        "panelists_video" : true,
        "hd_video": true, 
        "approval_type" :0,
        "audio": "voip",
        "auto_recording" : "local",
        "close_registration" : true, 
        "show_share_button" : true, 
        "question_and_answer" : {
            "answer_questions" : "all",
            "attendees_can_comment": true
        }
    }
}

```

---

<div class="post-metadata">

**Author:** ![philipp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/philipp/32/41162_2.png) [@philipp](https://devforum.zoom.us/u/philipp)\
**Post date:** [September 11, 2022, 11:59pm UTC](https://devforum.zoom.us/t/attendees-can-comment-returning-false/75570/5 "2022-09-11T23:59:18Z")

</div>

Hi @elisa.zoom ,  
Thank you it worked!!!

However, I think the code I showed you used to be working at least several months ago.  
Has the specification of the API changed within these several months?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [September 13, 2022, 8:36pm UTC](https://devforum.zoom.us/t/attendees-can-comment-returning-false/75570/6 "2022-09-13T20:36:23Z")

</div>

Hi @philipp  
Happy to hear that worked!  
Interesting! I am not aware of any specific change on our API that could have caused this.  
I apologize for the inconvenience and let me know if there is anything else i could do for you  
Best,  
elisa
