Skip to content
vocapable.Docs

Mark a voicemail read for you

POST
/v1/workspace/voicemails/{voicemail_id}/read
curl --request POST \
--url https://api.vocapable.com/v1/workspace/voicemails/example/read \
--header 'Authorization: Bearer <token>'
voicemail_id
required
Voicemail Id
string

Successful Response

Media typeapplication/json
WorkspaceVoicemail
object
id
required
Id
string
status
required
Status
string
Allowed values: ready importing available failed
phone_number_id
required
Phone Number Id
string
line_e164
required
Line E164
string
caller
required
WorkspaceVoicemailCaller
object
phone_e164
required
Phone E164
string
contact_id
required
Any of:
string
name
required
Any of:
string
organization_id
required
Any of:
string
organization_name
required
Any of:
string
received_at
required
Received At
string format: date-time
duration_seconds
required
Any of:
integer
call_id
required
Any of:
string
transcript
required
Any of:
string
summary
required
Any of:
string
source
required
Source
string
Allowed values: waiting_line answering_policy voicemail_route
unread
required
Unread
boolean
handled
required
Handled
boolean
handled_at
required
Any of:
string format: date-time
handled_by
required
Any of:
WorkspacePersonRef

A teammate named on a record: the id the server holds and the name to show.

object
user_id
required
User Id
string
name
required
Name
string
assignee
required
Any of:
WorkspacePersonRef

A teammate named on a record: the id the server holds and the name to show.

object
user_id
required
User Id
string
name
required
Name
string
revision
required
Revision
integer
return_call
required
WorkspaceVoicemailReturnCall

What the Return call button dials: the caller, from the line they called.

object
contact_id
required
Any of:
string
phone_e164
required
Phone E164
string
from_line_id
required
From Line Id
string
Example
{
"status": "ready",
"source": "waiting_line"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
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": {}
}
]
}