---
updatedAt: 2026-10-30T08:42:40.000Z
agentTools:
  projectIndex: https://docs.wati.io/llms.txt
---

# Batch get call recordings

Batch get call recordings. POST /api/ext/v3/calls/batch/recordings.

### Permissions

For API access tokens and OIDC tokens, satisfy **at least one** of: `api`, `callsv3:read`. API access tokens may satisfy a listed scope through the configured scope hierarchy; OIDC tokens are checked against their scope claims. Legacy JWT authentication does not use this scope check. Authentication, role, tenant, and applicable feature or plan checks still apply. For HTTP 403, check the credential type, applicable scopes, roles, and workspace access; 403 does not always mean a missing scope. Authentication/authorization failures do not guarantee a JSON response body.

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "WATI API",
    "version": "2.6",
    "description": "Documentation contract version 2.6. Use V3 for supported business operations, adopting its request, response, defaults and pagination. Retain V1/V2 only for the business exceptions listed in Introduction. API route versions are independent of this artifact version.\n\nSend Authorization: Bearer <your-token> with the workspace credential and regional API host. API route version does not select the authentication mechanism. Endpoint scopes, roles, account availability and channel access still apply; consult Authentication and each operation.\n\nChannel support is operation-specific. GET /api/ext/v3/channels lists additional connected channels and may exclude the default WhatsApp number; do not infer full channel coverage or permission to send from discovery alone.\n\nInspect HTTP status and business result separately. Some operations report business failure or partial recipient failure in HTTP 200. Authorization errors may have no JSON body. A 429 can indicate a rate or usage limit. For unknown write outcomes, reconcile state before retrying; do not assume idempotency.\n\nCreate webhook subscriptions through the documented V2 exception or the dashboard, then manage them through V3. Use supported event types for the workspace and distinguish request acceptance from final message delivery.",
    "contact": {
      "name": "WATI Support",
      "url": "https://docs.wati.io"
    }
  },
  "servers": [
    {
      "url": "https://live-mt-server.wati.io",
      "description": "WATI API host. Legacy v1 and v2 endpoints require tenantId in the path; v3 endpoints do not."
    }
  ],
  "tags": [
    {
      "name": "Calls",
      "description": "Access call recordings, transcripts, and summaries."
    }
  ],
  "paths": {
    "/api/ext/v3/calls/batch/recordings": {
      "post": {
        "tags": [
          "Calls"
        ],
        "summary": "Batch get call recordings",
        "operationId": "Calls_GetBatchRecordings",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BatchCallIdsRequest"
              },
              "example": {
                "callIds": [
                  "wamid.abc123",
                  "wamid.def456",
                  "wamid.ghi789"
                ]
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchCallIdsRequest"
              },
              "example": {
                "callIds": [
                  "wamid.abc123",
                  "wamid.def456",
                  "wamid.ghi789"
                ]
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchCallIdsRequest"
              },
              "example": {
                "callIds": [
                  "wamid.abc123",
                  "wamid.def456",
                  "wamid.ghi789"
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BatchCallIdsRequest"
              },
              "example": {
                "callIds": [
                  "wamid.abc123",
                  "wamid.def456",
                  "wamid.ghi789"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns recording download URLs and metadata for the requested calls.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBatchRecordingsResponse"
                },
                "example": {
                  "items": [
                    {
                      "call_id": "wamid.abc123",
                      "recording_status": "available",
                      "file_metadata": {
                        "file_size_bytes": 4205000,
                        "duration_seconds": 332,
                        "encoding_format": "audio/webm",
                        "created_at": "2026-02-23T10:15:45Z"
                      },
                      "download": {
                        "url": "https://storage.googleapis.com/bucket/recordings/secure-token?expires=1740315600",
                        "link_expires_in_seconds": 3600,
                        "method": "GET"
                      }
                    }
                  ],
                  "not_found": [
                    "wamid.xyz789"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvalidRequestResponse"
                }
              }
            }
          },
          "401": {
            "description": "The request is unauthorized."
          },
          "403": {
            "description": "The request is forbidden. Authorization failed. Check the Permissions section for the credential-specific scope rules, and check roles and workspace access. The response may have no body; do not require a JSON error envelope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ForbiddenRequestResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Either the rate limit has been exceeded or usage limits have been reached."
          },
          "500": {
            "description": "Unexpected error occurred. Please try again.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnexpectedErrorResponse"
                }
              }
            }
          }
        },
        "description": "Batch get call recordings. POST /api/ext/v3/calls/batch/recordings.\n\n### Permissions\n\nFor API access tokens and OIDC tokens, satisfy **at least one** of: `api`, `callsv3:read`. API access tokens may satisfy a listed scope through the configured scope hierarchy; OIDC tokens are checked against their scope claims. Legacy JWT authentication does not use this scope check. Authentication, role, tenant, and applicable feature or plan checks still apply. For HTTP 403, check the credential type, applicable scopes, roles, and workspace access; 403 does not always mean a missing scope. Authentication/authorization failures do not guarantee a JSON response body.",
        "x-wati-permissions": {
          "scopeRequirementGroups": [
            {
              "anyOf": [
                "api",
                "callsv3:read"
              ]
            }
          ],
          "groupOperator": "allOf",
          "appliesTo": [
            "ApiAccessToken",
            "OIDC"
          ],
          "legacyJwtScopeCheck": "skipped",
          "apiAccessTokenHierarchy": "configured-by-identity-provider",
          "oidcFallbackWhenNoEndpointScope": null,
          "sourceCommit": "03c6d4bc1590408c569e65602f969c6a596672e3"
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BatchCallIdsRequest": {
        "required": [
          "callIds"
        ],
        "type": "object",
        "properties": {
          "callIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of call IDs to retrieve (max 100).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request model for batch call retrieval endpoints."
      },
      "DownloadInfoDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Temporary signed URL to download the recording file.",
            "nullable": true
          },
          "link_expires_in_seconds": {
            "type": "integer",
            "description": "Number of seconds until the download link expires.",
            "format": "int32"
          },
          "method": {
            "type": "string",
            "description": "HTTP method to use for downloading (always GET).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Download information for a call recording."
      },
      "FileMetadataDto": {
        "type": "object",
        "properties": {
          "file_size_bytes": {
            "type": "integer",
            "description": "Size of the recording file in bytes.",
            "format": "int64"
          },
          "duration_seconds": {
            "type": "number",
            "description": "Duration of the recording in seconds.",
            "format": "double"
          },
          "encoding_format": {
            "type": "string",
            "description": "MIME type of the recording (e.g. audio/webm, audio/mpeg).",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "description": "When the recording was created.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "File metadata for a call recording."
      },
      "ForbiddenRequestResponse": {
        "required": [
          "code",
          "message"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The error code associated with the error.",
            "format": "int32"
          },
          "message": {
            "type": "string",
            "description": "The descriptive error message explaining what went wrong.",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "description": "The timestamp indicating when the error was recorded.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Represents the result of a forbidden request, containing error details."
      },
      "GetBatchRecordingsResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCallRecordingResponse"
            },
            "description": "Successfully retrieved recording items.",
            "nullable": true
          },
          "not_found": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Call IDs for which no completed recording was found.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response model for batch call recordings retrieval."
      },
      "GetCallRecordingResponse": {
        "type": "object",
        "properties": {
          "call_id": {
            "type": "string",
            "description": "The unique identifier of the call.",
            "nullable": true
          },
          "recording_status": {
            "type": "string",
            "description": "Status of the recording (e.g. \"available\").",
            "nullable": true
          },
          "file_metadata": {
            "$ref": "#/components/schemas/FileMetadataDto"
          },
          "download": {
            "$ref": "#/components/schemas/DownloadInfoDto"
          }
        },
        "additionalProperties": false,
        "description": "Response model for getting a call recording."
      },
      "InvalidRequestResponse": {
        "required": [
          "code",
          "message"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The error code associated with the error.",
            "format": "int32"
          },
          "message": {
            "type": "string",
            "description": "The descriptive error message explaining what went wrong.",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "description": "The timestamp indicating when the error was recorded.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Represents the result of a bad request, containing error details."
      },
      "UnexpectedErrorResponse": {
        "required": [
          "code",
          "message"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The error code associated with the error.",
            "format": "int32"
          },
          "message": {
            "type": "string",
            "description": "The descriptive error message explaining what went wrong.",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "description": "The timestamp indicating when the error was recorded.",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "Represents an unexpected error."
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "API token from your WATI Dashboard > API Settings. Pass as `Authorization: Bearer <token>`."
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ]
}
```