Create Upload
Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
POST
/v2/upload
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.your-api-server.com/v2/upload' \
--header 'x-gladia-key: <api-key>' \
--form 'audio="<string>"'
Response Response Example
{
"audio_url": "https://api.gladia.io/file/6c09400e-23d2-4bd2-be55-96a5ececfa3b",
"audio_metadata": {
"id": "6c09400e-23d2-4bd2-be55-96a5ececfa3b",
"filename": "short-audio-en-16000.wav",
"source": "http://files.gladia.io/test/audio-transcription/short-audio-en-16000.wav",
"extension": "wav",
"size": 365702,
"audio_duration": "4.145782",
"number_of_channels": 1
}
}
Request
Header Params
x-gladia-key
string
required
Example:
<api-key>
Body Params multipart/form-data
audio
string
optional
Example:
<string>
Responses
Modified at 2024-07-30 09:06:30