import requests
url = "https://api.diga.io/v1/recording/bulk"
payload = { "call_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "error",
"error_code": "BULK_DOWNLOAD_LIMIT_EXCEEDED",
"message": "Bulk download is limited to 50 recordings"
}Download multiple call recordings as a ZIP file.
import requests
url = "https://api.diga.io/v1/recording/bulk"
payload = { "call_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "error",
"error_code": "BULK_DOWNLOAD_LIMIT_EXCEEDED",
"message": "Bulk download is limited to 50 recordings"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List of call IDs to download recordings for
1 - 50 elementsSuccessful Response