Agent/Stream Call Recording
GET /v1/agent/calls/{id}/recording

Stream Call Recording

Streams the voice recording for a call as `audio/mpeg`, served with `Content-Disposition: inline` so it can back an `<audio>` element directly. Two authentication modes are accepted: * **Session** — the usual `sid` cookie plus the `x-workspace-code` header. The agent must be a participant on the call, and the workspace must allow agents to listen to or download recordings. * **Signed URL** — a `token` query parameter minted by `GET /v1/agent/calls/{id}/recording/url`. No session or workspace header is required; the workspace is read from the token. A token is bound to the exact path it was minted for, so it cannot be replayed against another call or against the admin-scope endpoint. When a `token` is present it takes precedence over any session cookie — an invalid token is rejected rather than falling back to the session.

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl https://api.{cluster}.{platform}.voiger.io/v1/agent/calls/{id}/recording \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code"

Parameters

x-workspace-code string optional in header
Required for session-authenticated requests. Not used when `token` is supplied.
id string required in path

Response

No documented response body.