BormintoDevelopers Documentation
docs.borminto.com

Sound To Text

Transcribe recordings up to 15 minutes. Only successful transcriptions use the allowance, measured by the recording’s length.

POST https://borminto.com/api/v1/voice/dictations

Form fields

audiofile · required
WAV, WebM, OGG, FLAC, MP3 or M4A, up to 15 minutes and 32 MiB.
languagestring · optional
A hint such as ar, en or ar-EG. Leave it out, or send auto, to detect automatically.
Idempotency-Keyheader · recommended
A retry with the same key returns the saved result for 24 hours without another charge.

Long recordings

Recordings of up to 30 seconds return the transcript immediately. Longer recordings return 202 with request_id, status and status_url.

Send GET to the status URL with the same application key, following Retry-After while processing. Read text when status is complete. If the request fails, read error and use a new idempotency key to retry.

Errors

StatusCodeWhat to do
401authentication_requiredThe key is missing or revoked. Send a current bv_ key.
402allowance_exhaustedThe allowance has been used. allowance_expired means the plan has ended.
403application_suspendedThe application is suspended. Contact the administrator.
409idempotency_conflictThe same Idempotency-Key was sent with different input. Use a new key for new input.
410connection_endedThe call, session or saved result has ended. Start a new one.
422invalid_requestA field, the audio or the Idempotency-Key is not valid. Audio problems use codes such as no_speech or audio_too_long.
429rate_limitedToo many requests. Wait for Retry-After seconds.
503voice_unavailableTemporarily unavailable. Retry after Retry-After with the same Idempotency-Key.

Search documentation

Documentation
Dashboard (opens in a new tab)