Saltar al contenido principal
POST
/
v1
/
recording
/
bulk
Bulk download recordings
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"
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cuerpo

application/json
call_ids
string<uuid>[]
requerido

List of call IDs to download recordings for

Required array length: 1 - 50 elements

Respuesta

Successful Response