curl --request POST \
--url https://app.enzo.health/api/v1/notes/{voiceNoteId}/audio-upload-url \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"file": {
"path": "<string>",
"name": "<string>",
"size": 123,
"type": "<string>"
}
}'
{
"key": "<string>",
"url": "<string>"
}
curl --request POST \
--url https://app.enzo.health/api/v1/notes/{voiceNoteId}/audio-upload-url \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"file": {
"path": "<string>",
"name": "<string>",
"size": 123,
"type": "<string>"
}
}'
{
"key": "<string>",
"url": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.