POST
/
voice
/
get-asr?language=
{language}
curl --request POST \
  --url 'https://api.eka.care/voice/get-asr?language={language}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "text": "Hi, this is again a V2 round testing to V2 testing V2 testing. Hello, hi. Hello, hi. Uh please have Dolo every day twice a day, twice a day."
}

Audio Requirements:

  • Supported Formats: wav, mp3, m4a
  • Preferred Sampling Rate: 16kHz
  • File Size Limit: 5MB

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

language
enum<string>
required

Language code for the audio to be transcribed. Only the following codes are supported:

  • en-IN: English (India)
  • en-US: English (United States)
  • hi: Hindi
  • ta: Tamil
  • te: Telugu
  • kn: Kannada
  • ml: Malayalam
  • bn: Bengali
  • gu: Gujarati
  • mr: Marathi
  • pa: Punjabi
Available options:
en-IN,
en-US,
hi,
ta,
te,
kn,
ml,
bn,
gu,
mr,
pa
Example:

"en-IN"

Body

multipart/form-data
file
file
required

The audio file to be uploaded from your local system. Supports formats wav, mp3, and m4a.

Response

200
application/json
Successful transcription
text
string

Transcribed text from the audio.