POST
/
voice
/
api
/
v2
/
transaction
/
init
/
{session_id}
curl --request POST \
  --url https://api.eka.care/voice/api/v2/transaction/init/{session_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "additional_data": {
    "doctor": {
      "_id": "174097180967921",
      "profile": {
        "personal": {
          "name": {
            "f": "Divyesh",
            "l": ""
          }
        }
      }
    },
    "patient": {},
    "visitid": "09e4f00f-d665-4212-b77c-b2dd5f22bd92_1742560488782"
  },
  "mode": "dictation",
  "input_language": [
    "en-IN"
  ],
  "speciality": "general_medicine",
  "Section": "consultation_notes",
  "output_format_template": [
    {
      "template_id": "eka_emr_template"
    }
  ],
  "transfer": "vaded",
  "s3_url": "s3://m-pp-voice2rx/250307/R-S3-195D5131-D014-56A8-ACCF-2F8F2D230DEC/"
}'
{
  "status": "success",
  "message": "Transaction initialized successfully",
  "txn_id": "test_1234",
  "b_id": "b-1234567890"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

session_id
string
required

Unique identifier for the transaction session

Example:

"test_1234"

Body

application/json

Response

201
application/json

Transaction initialized successfully

The response is of type object.