Upload a recording

POST/api/v1/domains/{domain_uuid}/recordings

Upload a WAV, MP3, or M4A file, up to 50 MB, with a recording_name. Send multipart/form-data. Audio is converted to mono, 16 kHz, 16-bit PCM WAV. Creating a recording does not select it for a Virtual Receptionist; choose it in the portal.

This request changes the recordings available to your phone system.

Path parameters

domain_uuidstringrequired

Your company ID supplied by Junction Cloud Connections.

Request body multipart/form-data

recording_namestringrequired

The recording display name.

recording_descriptionstring

Optional description.

filestringrequired

WAV, MP3, or M4A audio file. Maximum size: 50 MB.

Format: binary

Responses

201Created
recording_uuidstring
objectstring
domain_uuidstring
recording_namestring
recording_descriptionstring
recording_filenamestring
audio_availableboolean
audio_replacedboolean
bytesinteger
sha256string
400Invalid domain UUID
errorobject
Show nested fields
typestring
messagestring
codestring
paramstring
401Unauthenticated
errorobject
Show nested fields
typestring
messagestring
codestring
403The request is not available for this account.
404Domain not found
errorobject
Show nested fields
typestring
messagestring
codestring
paramstring
422Audio processing failed
errorobject
Show nested fields
typestring
messagestring
codestring
paramstring
500Internal error
errorobject
Show nested fields
typestring
messagestring
codestring