Canary Speech

GenerateUploadUrl

POST - /media/generate-upload-url/:filename
Required Permissions:
  • scope:api

Description

Generate a URL to upload to

Headers

Header KeyDescriptionExample
Authorization
The Authorization header for this endpoint. The value must be the token from the /v3/auth/tokens/get endpoint and given using the Bearer pattern.
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdW...

Path Parameters

NameTypeDescription
filenamestring
The name of the audio file

Body Parameters

NameTypeDescription
* audioConfigobject
The uuid of the survey associated with this assessment.
* assessmentConfigobject
The date and time the assessment was recorded.
* modelConfigobject
Any extra data to be associated with the assessment.

Successful Response

A successful response

Field NameTypeDescription
recordingIdstring
The UUID of the recording.
urlstring
The url of the recording to upload to.

Code Example