Logo
Zoom Public API Documentation

Perform batch poll creation

POST {{baseUrl}}/meetings/:meetingId/batch_polls

Polls allow the meeting host to survey attendees. Create batch polls for a meeting.

Prerequisites:

  • Host user type must be Pro or higher plan.
  • Polling feature must be enabled in the host's account.
  • Meeting must be a scheduled meeting. Instant meetings do not have polling features enabled.

Scopes: meeting:write:admin,meeting:write

Rate Limit Label: Light

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "polls": [ { "anonymous": "<boolean>", "id": "<string>", "poll_type": 2, "questions": [ { "answer_max_character": "<integer>", "answer_min_character": "<integer>", "answer_required": "<boolean>", "answers": [ "<string>", "<string>" ], "case_sensitive": false, "name": "<string>", "prompts": [ { "prompt_question": "<string>", "prompt_right_answers": [ "<string>", "<string>" ] }, { "prompt_question": "<string>", "prompt_right_answers": [ "<string>", "<string>" ] } ], "rating_max_label": "<string>", "rating_max_value": "<integer>", "rating_min_label": "<string>", "rating_min_value": "<integer>", "right_answers": [ "<string>", "<string>" ], "show_as_dropdown": "<boolean>", "type": "short_answer" }, { "answer_max_character": "<integer>", "answer_min_character": "<integer>", "answer_required": "<boolean>", "answers": [ "<string>", "<string>" ], "case_sensitive": false, "name": "<string>", "prompts": [ { "prompt_question": "<string>", "prompt_right_answers": [ "<string>", "<string>" ] }, { "prompt_question": "<string>", "prompt_right_answers": [ "<string>", "<string>" ] } ], "rating_max_label": "<string>", "rating_max_value": "<integer>", "rating_min_label": "<string>", "rating_min_value": "<integer>", "right_answers": [ "<string>", "<string>" ], "show_as_dropdown": "<boolean>", "type": "matching" } ], "status": "sharing", "title": "<string>" }, { "anonymous": "<boolean>", "id": "<string>", "poll_type": 1, "questions": [ { "answer_max_character": "<integer>", "answer_min_character": "<integer>", "answer_required": "<boolean>", "answers": [ "<string>", "<string>" ], "case_sensitive": false, "name": "<string>", "prompts": [ { "prompt_question": "<string>", "prompt_right_answers": [ "<string>", "<string>" ] }, { "prompt_question": "<string>", "prompt_right_answers": [ "<string>", "<string>" ] } ], "rating_max_label": "<string>", "rating_max_value": "<integer>", "rating_min_label": "<string>", "rating_min_value": "<integer>", "right_answers": [ "<string>", "<string>" ], "show_as_dropdown": "<boolean>", "type": "matching" }, { "answer_max_character": "<integer>", "answer_min_character": "<integer>", "answer_required": "<boolean>", "answers": [ "<string>", "<string>" ], "case_sensitive": false, "name": "<string>", "prompts": [ { "prompt_question": "<string>", "prompt_right_answers": [ "<string>", "<string>" ] }, { "prompt_question": "<string>", "prompt_right_answers": [ "<string>", "<string>" ] } ], "rating_max_label": "<string>", "rating_max_value": "<integer>", "rating_min_label": "<string>", "rating_min_value": "<integer>", "right_answers": [ "<string>", "<string>" ], "show_as_dropdown": "<boolean>", "type": "fill_in_the_blank" } ], "status": "ended", "title": "<string>" } ] }



Curl
curl -X POST 'https://api.zoom.us/v2/meetings/:meetingId/batch_polls' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"polls":[{"anonymous":false,"poll_type":1,"questions":[{"answer_max_character":"\u003cinteger\u003e","answer_min_character":"\u003cinteger\u003e","answer_required":false,"answers":["\u003cstring\u003e","\u003cstring\u003e"],"case_sensitive":false,"name":"\u003cstring\u003e","prompts":[{"prompt_question":"\u003cstring\u003e","prompt_right_answers":["\u003cstring\u003e","\u003cstring\u003e"]},{"prompt_question":"\u003cstring\u003e","prompt_right_answers":["\u003cstring\u003e","\u003cstring\u003e"]}],"rating_max_label":"\u003cstring\u003e","rating_max_value":"\u003cinteger\u003e","rating_min_label":"\u003cstring\u003e","rating_min_value":"\u003cinteger\u003e","right_answers":["\u003cstring\u003e"],"show_as_dropdown":false,"type":"rank_order"},{"answer_max_character":"\u003cinteger\u003e","answer_min_character":"\u003cinteger\u003e","answer_required":false,"answers":["\u003cstring\u003e","\u003cstring\u003e"],"case_sensitive":false,"name":"\u003cstring\u003e","prompts":[{"prompt_question":"\u003cstring\u003e","prompt_right_answers":["\u003cstring\u003e","\u003cstring\u003e"]},{"prompt_question":"\u003cstring\u003e","prompt_right_answers":["\u003cstring\u003e","\u003cstring\u003e"]}],"rating_max_label":"\u003cstring\u003e","rating_max_value":"\u003cinteger\u003e","rating_min_label":"\u003cstring\u003e","rating_min_value":"\u003cinteger\u003e","right_answers":["\u003cstring\u003e"],"show_as_dropdown":false,"type":"short_answer"}],"title":"\u003cstring\u003e"}]}'

ENDPOINTS