Bypassing the 100-Recording Limit for Bulk Legal Discovery Exports

For a financial institution, I am frequently required to fulfill legal discovery requests. We recently received a subpoena requiring the export of over four thousand call recordings associated with a specific customer phone number over the past two years. I am attempting to utilize the /api/v2/recording/batchrequests API endpoint to extract these files. However, the system consistently rejects the payload, stating that I cannot request more than one hundred recordings simultaneously. Is there a mechanism within the Platform API to process bulk legal exports without manually segmenting the request into forty separate batches?

Hey there! Yeah, dealing with those API limits is a huge pain when you’re trying to pull a massive dataset. You actually cannot bypass that 100-recording limit on a single batch request. It is a hardcoded platform limit to prevent the AWS backend from crashing.

What we do for our clients is write a simple script that hits the Conversations API first to get all 4,000 conversation IDs, and then the script loops through and fires off forty separate batch requests of 100 IDs each. It is annoying, but it’s the only way to get around the limit!

Hello. I do recording exports for legal teams every day. You do not actually need to use the API for this if you are just fulfilling a subpoena! Inside the Genesys Cloud Admin UI, there is a tool specifically built for this called ‘Policy-based Recording Exports’ or the ‘Recording Bulk Export’ tool.

You just type in the phone number and the date range, and the platform automatically creates the 4,000 files and drops them into an AWS S3 bucket for you! Please do not try to write custom API scripts for legal discovery when the native bulk export tool already handles the segmentation perfectly.