# Polls endpoint return Polls and Quizzes both however quiz endpoint return empty array

**URL:** <https://devforum.zoom.us/t/polls-endpoint-return-polls-and-quizzes-both-however-quiz-endpoint-return-empty-array/112663>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [June 27, 2024, 10:21am UTC](https://devforum.zoom.us/t/polls-endpoint-return-polls-and-quizzes-both-however-quiz-endpoint-return-empty-array/112663 "2024-06-27T10:21:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin.sommer](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@martin.sommer](https://devforum.zoom.us/u/martin.sommer)\
**Post date:** [June 27, 2024, 10:21am UTC](https://devforum.zoom.us/t/polls-endpoint-return-polls-and-quizzes-both-however-quiz-endpoint-return-empty-array/112663/1 "2024-06-27T10:21:18Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**

- /past\_meetings/{meetingUUID}/polls - Endpoint to get all polls of a meeting
- /past\_meetings/{meetingUUID}/qa - Ednpoints to get all QA of a meeting

**Description**  
_When we call the endpoint to get the polls of a meeting, in the response, we get the ressults of Polls and Quizzes both._

**Error?**  
_Is this an expected behavior or any issue with these 2 APIs ?_

**How To Reproduce**  
Steps to reproduce the behavior:

1. Log into admin Zoom account.
2. Click on the “surveys” on the left menu and choose "Polls and Quizzes\* tab and select create. Create one Poll and one Quiz.
3. Start a meeting as an admin as host with one more participants.
4. Launch Poll and Quiz both. Let the participant involve in them.
5. Call the endpoint GET /past\_meetings/{meetingUUID}/polls and /past\_meetings/{meetingUUID}/qa with the meetingUUID ===.

**Expected Behavior**  
All polls should be returned as a response of /past\_meetings/{meetingUUID}/polls.  
All quizzes should be returned as a response of /past\_meetings/{meetingUUID}/qa.

**Actual Behavior**  
All polls and quizzes both are returned as a response of /past\_meetings/{meetingUUID}/polls. The response to the endpoint /past\_meetings/{meetingUUID}/qa.

---

<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 27, 2024, 5:58pm UTC](https://devforum.zoom.us/t/polls-endpoint-return-polls-and-quizzes-both-however-quiz-endpoint-return-empty-array/112663/2 "2024-06-27T17:58:16Z")

</div>

Hi @martin.sommer , are you passing the correct uuid? The one that’s created after the meeting ends?

Use this endpoint to confirm it’s the correct uuid: [Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/pastMeetingDetails)

---

<div class="post-metadata">

**Author:** ![martin.sommer](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@martin.sommer](https://devforum.zoom.us/u/martin.sommer)\
**Post date:** [July 1, 2024, 9:43am UTC](https://devforum.zoom.us/t/polls-endpoint-return-polls-and-quizzes-both-however-quiz-endpoint-return-empty-array/112663/5 "2024-07-01T09:43:24Z")

</div>

Thanks for the answer @gianni.zoom

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 2, 2024, 9:44am UTC](https://devforum.zoom.us/t/polls-endpoint-return-polls-and-quizzes-both-however-quiz-endpoint-return-empty-array/112663/6 "2024-07-02T09:44:05Z")

</div>

Closed on July 2, 2024, 9:44am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
