Set VOCAL_API to the base URL of your API and VOCAL_API_KEY to an API key with the recordings:read scope (Authentication and keys). Replace each placeholder, such as agt_... or <name>, with your own value.
The version of the key that wraps the per-Call key; safe to log.
object
"recording"
yes
ring_ms
integer or null
no
The length in milliseconds of the ring tone the audio begins with (1.42.0, board #136): the ring-to-answer period of an inbound phone Call, the Call's ring_ms, so the Agent answered at this offset into the audio and a player marks the answer instant there. 0 to 60,000. Null when the audio begins at the answer, as for a web Call or a recording whose worker wrote no tone; absent from an api older than 1.42.0, which a reader treats as null.
size_bytes
integer or null
yes
The size of the stored object, ciphertext included; null until uploaded.