POST
/
voice
/
upload?mode=
{mode}
&txnid=
{txnid}
curl --request POST \
  --url 'https://api.eka.care/voice/upload?mode={mode}&txnid={txnid}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "message": "Upload successful!",
  "filename": "voice-2rx.m4a"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

txnid
string
required
mode
enum<string>
required
Available options:
dictation,
consultation

Body

multipart/form-data · file

The body is of type file.

Response

200
application/json
200 response
message
string
filename
string