# How to post the multiple and single questions in one poll with single title in node js

**URL:** <https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990>\
**Category:** API and Webhooks\
**Created:** [June 23, 2021, 10:21am UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990 "2021-06-23T10:21:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![careerquo](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@careerquo](https://devforum.zoom.us/u/careerquo)\
**Post date:** [June 23, 2021, 10:21am UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/1 "2021-06-23T10:21:56Z")

</div>

can u please give an example to create polls with the multiple and single questions in one poll with single title ?  
When I’m creating questions its creating only with one questions and answers.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/c/8c92f7fa2d3db851bbc620529db419ef6943ccff.png)

please suggest me to solve this issue

Thank you.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [June 24, 2021, 4:26pm UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/2 "2021-06-24T16:26:54Z")

</div>

Hi @careerquo – thank you for inquiring about this. Can you try [refactoring your schema with the “title” field](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingpollcreate) and see what you get?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/e/0e288af306a2df78ecdab4f387fa958a34386eaf.png)

Thank you!  
Gianni

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [June 24, 2021, 4:30pm UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/3 "2021-06-24T16:30:08Z")

</div>

@careerquo Also another follow up – are you seeing any errors in your linter or console on vscode?

---

<div class="post-metadata">

**Author:** ![careerquo](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@careerquo](https://devforum.zoom.us/u/careerquo)\
**Post date:** [June 25, 2021, 5:10am UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/4 "2021-06-25T05:10:55Z")

</div>

NO, I’m not getting an error its creating with only one question to the one poll . But I need to create 1-10 multiple questions and answers to single poll using with same title . can u please suggest the schema how to present with 1-10 questions and answers to the one poll.  
Thank You.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [June 25, 2021, 4:14pm UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/5 "2021-06-25T16:14:14Z")

</div>

Hi @careerquo – can you please share screenshots of your full schema and the error you’re seeing? If you’re able to push your codebase up to Github, I’m happy to take a look and pull your file to take a look on my code editor and help debug.

Thank you,  
Gianni

---

<div class="post-metadata">

**Author:** ![careerquo](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@careerquo](https://devforum.zoom.us/u/careerquo)\
**Post date:** [June 28, 2021, 5:25am UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/7 "2021-06-28T05:25:13Z")

</div>

Hi @gianni.zoom ,  
I could not upload the file but I copied and paste the code above can u please check and I need to create polls with multiple questions and answers in a one polls itself using with same title can you please edit the schema to sort out the issue.  
I need schema to create polls questions like in the image below

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/0/00a8e844817d632a7f5dc68c7570a1397a5c9e6f.png)

Thank You.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 28, 2021, 11:56pm UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/8 "2021-06-28T23:56:02Z")

</div>

Hey @careerquo,

Try using something like this:

```auto
{
  "title": "Meeting Usefulness",
  "questions": [
    {
      "name": "How useful was this meeting?",
      "type": "multiple",
      "answers": [
        "Extremely useful",
        "Somewhat useful",
        "Not useful at all"
      ]
    },
    {
      "name": "Would you like to user our service again?",
      "type": "single",
      "answers": [
        "yes",
        "no"
      ]
    },
    {
      "name": "rates",
      "type": "single",
      "answers": [
        "yes",
        "no"
      ]
    },
  ]
}

```

I hope that helps!

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![careerquo](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@careerquo](https://devforum.zoom.us/u/careerquo)\
**Post date:** [June 29, 2021, 5:46am UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/9 "2021-06-29T05:46:40Z")

</div>

Hi @MaxM ,  
Thank you so much for the solution. It helps me a lot.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 29, 2021, 9:19pm UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/10 "2021-06-29T21:19:28Z")

</div>

Awesome! I’m glad to hear it! 😃

I’ll go ahead and close this topic now but feel free to open a new topic if you encounter any further issues or questions.

Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 29, 2021, 9:19pm UTC](https://devforum.zoom.us/t/how-to-post-the-multiple-and-single-questions-in-one-poll-with-single-title-in-node-js/52990/11 "2021-06-29T21:19:32Z")

</div>

Closed on June 29, 2021, 9:19pm UTC


