Tonedocs
API referenceCalls

Fetch the recording after a missed transfer

When the person did not take the call and the caller came back to the agent: the recording of the rest of the call, as audio/wav (stereo, the caller on the left channel and the agent on the right). Not enveloped. The part before the handoff is GET /v1/calls/{id}/recording.

Requires the read scope. A key with less gets 403 insufficient_scope.

GET
/v1/calls/{id}/transfers/{transferId}/return-recording
AuthorizationBearer <token>

Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.

In: header

Path Parameters

id*string

The call's id.

transferId*string

The transfer's id.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/calls/string/transfers/string/return-recording"
Empty
Was this page helpful?