Use this endpoint to start the upload of a media for a recording. Use the uploadId returned by the endpoint to upload content and complete the upload.
Here's a code sample on how to use our file upload APIs: Transcript File Upload Guide
API ReferenceUpload
Use this endpoint to start the upload of a media for a recording. Use the uploadId returned by the endpoint to upload content and complete the upload.
Here's a code sample on how to use our file upload APIs: Transcript File Upload Guide
/spaces/{spaceId}/recordings/{recordingId}/uploadsAuthorization API key in the x-api-key header
spaceIdstringrequiredID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.
recordingIdstringrequiredID of the recording. You can find from the url in dashboard when you open the workspace or using the list recordings endpoint.
application/json · object
mimeTypestringrequiredMime Type of the media file that is going to be uploaded. Examples of the mimeType format:
video/mp4
video/webm
audio/mp4
audio/mp3
200Upload metadataapplication/json · object
uploadIdstringrequiredID of the upload. You will use this in all requests related to this upload.
400Invalid inputapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
401Authentication failedapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
403You don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
404Not found or don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
curl 'https://transcript.lol/api/v1/spaces/string/recordings/string/uploads' \
--request POST \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"mimeType": "string"
}'const response = await fetch("https://transcript.lol/api/v1/spaces/string/recordings/string/uploads", {
method: "POST",
headers: {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"mimeType": "string"
}),
});
const text = await response.text();import requests
response = requests.post(
"https://transcript.lol/api/v1/spaces/string/recordings/string/uploads",
headers={
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json"
},
data="{\n \"mimeType\": \"string\"\n}",
)
print(response.text){
"uploadId": "string"
}{
"error": "string",
"errorDetails": {}
}{
"error": "string",
"errorDetails": {}
}{
"error": "string",
"errorDetails": {}
}{
"error": "string",
"errorDetails": {}
}