Skip to main content
GET
/
v3
/
{account_id}
/
{project_id}
/
conversations
/
{conversation_id}
/
audio
Get audio recording for a conversation
curl --request GET \
  --url https://api.us-1.platform.polyai.app/v3/{account_id}/{project_id}/conversations/{conversation_id}/audio \
  --header 'x-api-key: <api-key>'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.poly.ai/llms.txt

Use this file to discover all available pages before exploring further.

PII access and redaction

The redacted query parameter controls whether personally identifiable information (PII) is muted from the returned audio:
User PII accessredacted query valueAudio returned
Yesfalse (or omitted)Raw recording
YestrueRedacted recording
Nofalse (or omitted)Redacted recording (enforced)
NotrueRedacted recording
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.

Example

curl --request GET \
  --url "https://api.us-1.platform.polyai.app/v3/{account_id}/{project_id}/conversations/{conversation_id}/audio?direction=combined&redacted=false" \
  --header "x-api-key: $POLYAI_API_KEY" \
  --output conversation.wav

Authorizations

x-api-key
string
header
required

Contact your PolyAI representative.

Path Parameters

account_id
string
required

Account ID.

project_id
string
required

Project ID.

conversation_id
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 22, 2026