API ReferenceUpload

Complete upload

Call this endpoint only after all part(s) of the media file have been successfully. You will use information from each part upload call to complete the upload.

Transcription will begin as soon as the upload is complete using this endpoint

POST/spaces/{spaceId}/recordings/{recordingId}/uploads/{uploadId}/complete

Authorization API key in the x-api-key header

Path parameters

  • spaceIdstringrequired

    ID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.

  • recordingIdstringrequired

    ID of the recording. You can find from the url in dashboard when you open the workspace or using the list recordings endpoint.

  • uploadIdstringrequired

    ID of the upload. You will receive this when you start an upload using the start upload endpoint

Body

application/json · object

  • partsarray of objectrequired

    Information of each uploaded part

    Show 2 properties
    • ETagstringrequired

      Etag returned for the part upload

    • PartNumberstringrequired

      Part number for this ETag is for

Responses

  • 200OK

    application/json · object

    • successbooleanrequired

      true if upload is completed successfully

  • 400Invalid input

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 401Authentication failed

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 402Insufficient credits or need payment

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 403You don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 404Not found or don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

curl 'https://transcript.lol/api/v1/spaces/string/recordings/string/uploads/string/complete' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "parts": [
    {
      "ETag": "string",
      "PartNumber": "string"
    }
  ]
}'
const response = await fetch("https://transcript.lol/api/v1/spaces/string/recordings/string/uploads/string/complete", {
  method: "POST",
  headers: {
    "x-api-key": "YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "parts": [
      {
        "ETag": "string",
        "PartNumber": "string"
      }
    ]
  }),
});
const text = await response.text();
import requests

response = requests.post(
    "https://transcript.lol/api/v1/spaces/string/recordings/string/uploads/string/complete",
    headers={
        "x-api-key": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    data="{\n  \"parts\": [\n    {\n      \"ETag\": \"string\",\n      \"PartNumber\": \"string\"\n    }\n  ]\n}",
)
print(response.text)
{
  "success": true
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}