Skip to content
vocapable.Docs

Save a recorded voicemail drop (WAV, mono, at most 60 seconds)

POST
/v1/mobile/workspace/voicemail-drops
curl --request POST \
--url https://api.vocapable.com/v1/mobile/workspace/voicemail-drops \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "content_base64": "example", "content_type": "audio/wav" }'
Idempotency-Key
Any of:
string

Unique key for this request. A retry after a lost response or a reconnect replays the original result instead of saving the note or task twice.

Media typeapplication/json
WorkspaceVoicemailDropCreate

A recorded message, uploaded as base64: AAC (M4A/MP4 or ADTS) or PCM WAV, 1-60 s.

The server sniffs and decodes the bytes, then stores 8 kHz mono 16-bit WAV; content_type is informational and never trusted over the bytes.

object
name
required
Name
string
>= 1 characters <= 60 characters
content_base64
required
Content Base64
string
>= 8 characters <= 8100000 characters
content_type
Any of:
string
Allowed values: audio/wav audio/x-wav audio/mp4 audio/m4a audio/x-m4a audio/aac

Successful Response

Media typeapplication/json
WorkspaceVoicemailDrop
object
id
required
Id
string
user_id
required
User Id
string
owner
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
slot
required
Slot
integer
name
required
Name
string
duration_ms
required
Duration Ms
integer
size_bytes
required
Size Bytes
integer
revision
required
Revision
integer
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
Examplegenerated
{
"id": "example",
"user_id": "example",
"owner": {
"user_id": "example",
"name": "example"
},
"slot": 1,
"name": "example",
"duration_ms": 1,
"size_bytes": 1,
"revision": 1,
"created_at": "2026-04-15T12:00:00Z",
"updated_at": "2026-04-15T12:00:00Z"
}

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": {}
}
]
}