# Guidance on recording APIs

**URL:** <https://devforum.zoom.us/t/guidance-on-recording-apis/12274>\
**Category:** API and Webhooks\
**Created:** [April 9, 2020, 12:42am UTC](https://devforum.zoom.us/t/guidance-on-recording-apis/12274 "2020-04-09T00:42:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shawn.schmieding](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shawn.schmieding/32/5570_2.png) [@shawn.schmieding](https://devforum.zoom.us/u/shawn.schmieding)\
**Post date:** [April 9, 2020, 12:42am UTC](https://devforum.zoom.us/t/guidance-on-recording-apis/12274/1 "2020-04-09T00:42:29Z")

</div>

Posting on behalf of a client:

We have two technical options but based on documentation it looks like Option 1 will give recordings going back up to 6 months and Option 2 will get them all but will take longer time to run. We need to validate if true. Can you confirm if this assessment correct.

**Option 1**

**var recordings = /accounts/me/recordings;**

**foreach (recording in recordings) Download(recording.download\_url);**

Pros: no need to loop through users (may be most efficient even with its cons)

Cons: 6 months back max

```
     1 month date window at a call (6 calls if we want data for 6 months)

     pagination (300 items max at a call) - keep calling until the continuation pointer is null

```

**Option 2**

**var users = /users;**

**foreach (user in users) {**

**var meetings = /users/{userId}/meetings; //these do NOT bring recordings**

**foreach (meeting in meetings) {**

**var recordings = /meetings/{meetingId}/recordings;**

**foreach (recording in recordings) Download(recording.download\_url);**

**}**

**}**

Pros: unlike other APIs /users/{userId}/meetings does not appear to have a limit on how far back you can go

Cons: 2 extra loops: foreach (user in users) + foreach (meeting in meetings)

```
     pagination (300 items max at a call) - keep calling until you hit the last page
```

---

<div class="post-metadata">

**Author:** ![bdeanindy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bdeanindy/32/154_2.png) [@bdeanindy](https://devforum.zoom.us/u/bdeanindy)\
**Post date:** [April 13, 2020, 4:40pm UTC](https://devforum.zoom.us/t/guidance-on-recording-apis/12274/2 "2020-04-13T16:40:43Z")

</div>

To get ALL recordings for ALL users, you would need to use Option 2 sir.

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:25pm UTC](https://devforum.zoom.us/t/guidance-on-recording-apis/12274/3 "2020-08-21T20:25:03Z")

</div>

Closed on August 21, 2020, 8:25pm UTC


