API ReferenceTranscript

Update recording metadata

Rename a recording and/or move it into a folder.

PATCH/spaces/{spaceId}/recordings/{recordingId}

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.

Body

application/json · object

  • titlestring

    New title for the recording.

  • recordingFolderIdstring · nullable

    Move the recording into this folder. Pass null to move it out of any folder, back to the workspace root. Get folder IDs from the List folders endpoint.

Responses

  • 200Recording metadata

    application/json · Recording

    • idstringrequired
    • createdAtstringrequired
    • updatedAtstringrequired
    • workspaceIdstringrequired
    • titlestringrequired
    • sourceUrlstringrequired

      Only when recording is created using a URL

    • mediaTypeMediaTyperequired

      One of"AUDIO""VIDEO"

    • sourcestringrequired
    • durationnumber
    • statusRecordingStatusrequired

      One of"MEDIA_IMPORT_UPLOADING""MEDIA_IMPORT_PENDING""MEDIA_IMPORT_COMPLETE""MEDIA_IMPORT_FAILED""TRANSCRIPTION_QUEUED""TRANSCRIPTION_PENDING""TRANSCRIPTION_COMPLETE""TRANSCRIPTION_FAILED"

    • recordingFolderIdstring

      Only if it is part of a folder

    • isMediaDeletedboolean
    • createdByIdstringrequired
    • autoDeleteMediaAfterstring

      If set, media of the recording will be auto-deleted after this date

  • 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

  • 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' \
  --request PATCH \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "title": "string",
  "recordingFolderId": "string"
}'
const response = await fetch("https://transcript.lol/api/v1/spaces/string/recordings/string", {
  method: "PATCH",
  headers: {
    "x-api-key": "YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "title": "string",
    "recordingFolderId": "string"
  }),
});
const text = await response.text();
import requests

response = requests.patch(
    "https://transcript.lol/api/v1/spaces/string/recordings/string",
    headers={
        "x-api-key": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    data="{\n  \"title\": \"string\",\n  \"recordingFolderId\": \"string\"\n}",
)
print(response.text)
{
  "id": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "workspaceId": "string",
  "title": "string",
  "sourceUrl": "string",
  "mediaType": "AUDIO",
  "source": "string",
  "duration": 0,
  "status": "MEDIA_IMPORT_UPLOADING",
  "recordingFolderId": "string",
  "isMediaDeleted": true,
  "createdById": "string",
  "autoDeleteMediaAfter": "string"
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}