Skip to navigation

Get forwarded recording

View as Markdown

Returns the recording of the forwarded leg of a call transfer (the part after the agent transferred the call) in the telephony provider’s format, audio/mpeg or audio/wav. When a call was transferred more than once, the latest connected transfer’s recording is returned. Forwarded-leg recordings are currently available only for transfers made through Vobiz. Returns 404 if there is no recording.

curl "https://apps.sarvam.ai/api/analytics/v1/$ORG_ID/$WORKSPACE_ID/$APP_ID/recordings/$INTERACTION_ID/forwarded" \
-H "X-API-Key: $SARVAM_API_KEY" \
-o forwarded.mp3

Path parameters

org_idstringRequired
Organization ID.
workspace_idstringRequired
Workspace ID.
app_idstringRequired

Agent ID. Copy it from the agent’s ··· menu in the dashboard (Copy agent ID).

interaction_idstringRequiredformat: "^[0-9]{8}/.+$"

From List interactions, in the form <YYYYMMDD>/<id>, e.g. 20261007/9f1c2a7e-4b3d-4e8a-a1f0-6c2d9b7e5a14. Send the slash as is or as %2F.

Headers

X-API-KeystringRequired
Your workspace API key.

Response

The forwarded-leg recording as an audio stream, in the telephony provider’s format.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error