List inbound voicemail inbox receipts
GET
/v1/calls/inbound-voicemails
const url = 'https://api.vocapable.com/v1/calls/inbound-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.vocapable.com/v1/calls/inbound-voicemails?limit=50' \ --header 'Authorization: Bearer <token>'List admitted inbound messages, including explicit import failures and absences.
This is a receipt inbox, not a second recordings API. When an item says available,
its call_id can be read through the ordinary call detail and recording endpoints;
every other state is intentionally non-playable.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
CursorPage[InboundVoicemailSummary]
object
data
required
Data
Array<object>
InboundVoicemailSummaryOne inbound voicemail receipt in the customer inbox.
A receipt appears as soon as a lawful caller is invited to record, so a carrier or
storage failure is visible rather than silently dropping the message. call_id and
recording_id stay null until private audio has been imported into the ordinary Call
and Recording records; clients must not construct an audio URL from this response.
object
id
required
Id
string
status
required
Status
string
phone_number_id
required
Phone Number Id
string
agent_version_id
required
Agent Version Id
string
from_e164
required
From E164
string
to_e164
required
To E164
string
received_at
required
Received At
string format: date-time
updated_at
required
Updated At
string format: date-time
has_more
Has More
boolean
Example
{ "data": [ { "status": "recording" } ], "has_more": false}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}