Skip to main content
GET
Get audio recording for a conversation

PII access and redaction

The redacted query parameter controls whether personally identifiable information (PII) is muted from the returned audio: Users without PII access always receive the redacted recording, even when redacted=false is passed. This is enforced server-side, so callers cannot bypass redaction by omitting or overriding the query parameter. PII access is granted through your account’s role and permission configuration in Agent Studio. See PII logging for related conversation-log behavior.

Regional base URLs

This endpoint is served from the Kong-routed host (api.{region}.poly.ai), not api.{region}-1.platform.polyai.app (which serves the list-conversations endpoint). Sending the request to the wrong host will fail.

Example

Replace {agentId} and {conversationId} with real values — the placeholders are not resolved server-side. Only Accept: audio/wav is needed; do not send Content-Type on this GET request (it has no body).

Common pitfalls

Authorizations

x-api-key
string
header
required

Contact your PolyAI representative.

Path Parameters

agentId
string
required

Agent ID.

conversationId
string
required

Unique conversation ID.

Query Parameters

direction
enum<string>
default:combined

Which side of the call to return. combined returns the full mixed recording. user returns only the caller audio. agent returns only the agent audio.

Available options:
combined,
user,
agent
redacted
boolean
default:false

If true, returns the redacted recording with personally identifiable information (PII) muted. If false, returns the raw recording. Users without PII access always receive the redacted recording, regardless of this parameter.

Response

WAV audio recording for the conversation.

The response is of type file.

Last modified on May 29, 2026