Skip to content

get an upload url

GET
/media/transcode/audio/uploadUrl

Get a signed url that an audio file can be uploaded to

Response

  • Two fields are returned in the body:

  • The sha256 hash sent in the request querystring is used to check if a file matching that checksum already exists in our store

  • If the file already exists in our file store "uploadUrl": null is returned

  • If the file does not exists an uploadUrl is generated

Authorizations

bearerAuth
TypeHTTP (bearer)

Parameters

Query Parameters

sha256

The SHA256 hash of the source file to be uploaded. It is used to determine a successful upload (we SHA256 hash the file once it is uploaded to our file store and compare the hashes for a match)

Typestring
Example{{sha256}}
filename

(optional) the filename for the uploaded file

Typestring
ExampleThis Is The Name I Want For The File

Responses

200 OK (Upload URL Created) / 200 OK (File Already Exists)
application/json
JSON
{
"upload": {
"uploadId": "zK3NQ1r-P7mQd9IjOKVFjlWnYAuGn3nHWTJSejljJcM",
"uploadUrl": null
}
}

Playground

Authorization
Variables
Key
Value

Samples