List voicemails
const url = 'https://api.caller9.app/v1/studios/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/voicemails?limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.caller9.app/v1/studios/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/voicemails?limit=50' \ --header 'Authorization: Bearer <token>'The studio’s voicemails, newest first.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Studio ID (UUID).
Query Parameters
Section titled “Query Parameters”Maximum number of voicemails to return (capped at 200).
Responses
Section titled “Responses”Voicemails.
object
object
The call that left the voicemail, if still on record.
Caller’s phone number / caller ID.
Storage key of the recording. Download via GET /v1/studios/{studio}/voicemails/{vm}/audio.
Example generated
{ "voicemails": [ { "guid": "example", "call_guid": "example", "caller": "example", "r2_key": "example", "duration_seconds": 1, "created_at": "example" } ]}Missing, invalid, expired or revoked API key.
object
Human-readable error message.
Machine-readable code (authentication failures only, e.g. KEY_EXPIRED, RATE_LIMITED).
Example generated
{ "error": "example", "code": "example"}Not found, or belongs to another organization.
object
Human-readable error message.
Machine-readable code (authentication failures only, e.g. KEY_EXPIRED, RATE_LIMITED).
Example generated
{ "error": "example", "code": "example"}Too many requests for this API key. Retry after Retry-After seconds.
object
Human-readable error message.
Machine-readable code (authentication failures only, e.g. KEY_EXPIRED, RATE_LIMITED).
Example generated
{ "error": "example", "code": "example"}Headers
Section titled “Headers”Seconds until the rate-limit window resets.