POST
/
v1
/
notes
/
{voiceNoteId}
/
audio
curl --request POST \
  --url https://app.enzo.health/api/v1/notes/{voiceNoteId}/audio \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "storageId": "<string>",
  "patientId": "<string>",
  "appointmentId": "<string>",
  "isProcessed": true,
  "templateType": [
    "transcript"
  ],
  "isDemo": true,
  "language": "en"
}'
{
  "voiceNoteAudio": {
    "id": "<string>",
    "storageId": "<string>",
    "voiceNoteId": "<string>",
    "userId": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

voiceNoteId
string
required

Body

application/json
storageId
string
required
isProcessed
boolean
required
patientId
string
appointmentId
string
templateType
enum<string>[]
Available options:
narrative,
oasis,
transcript
isDemo
boolean
default:true
language
enum<string>
default:en
Available options:
en,
es,
ru

Response

200
application/json
Successful response
voiceNoteAudio
object
required