Uploads
Complete Upload
Mark a recording audio upload as complete
POST
Mark the recording upload as complete after the audio object has been uploaded to S3. This transitions the recording status to
uploaded and can trigger downstream processing.
Authentication
This endpoint accepts either an API key or a device token.Path Parameters
string
required
The recording’s unique identifier.
Request Body
integer
Duration of the uploaded audio in seconds.
integer
Uploaded file size in bytes.
string
Optional SHA-256 hash of the completed audio file as 64 lowercase hex characters. When supplied, Bota verifies the stored object asynchronously and emits
recording.integrity_failure if the hash does not match.Response
Returns the updated recording object with status set touploaded.
The recording must be ready for completion and have an audio object associated with it. Calling this before upload or after an incompatible state returns a
400 error.
