Skip to main content

Download Recording (Token)

Endpoint: /recording/getDownloadToken

This endpoint generates a secure, temporary token that can be used to download a recording file. Instead of providing a direct, permanent link to the recording, this API creates a short-lived, single-use token.

This is a security best practice that prevents unauthorized access and sharing of your recording files. The typical workflow is:

  1. A user in your application clicks a "Download" button.
  2. Your backend calls this API to get a token.
  3. Your application constructs the download URL with the token and redirects the user to it.

The token will expire after a short period, ensuring that the download link cannot be reused or shared.

FieldTypePositionRequiredDescription
record_idstringrootYesThe ID of the recording you want to download.

Example Request:

{
"record_id": "7f867cd7-7956-4a17-af46-6ddd4015a497-1761814595173"
}

Response

FieldTypePositionDescription
statusbooleanrootIndicates if the request was successful.
msgstringrootResponse message.
status_codestringrootResponse status code.
tokenstringrootDownload token.

Once you receive the token, you can construct the download URL using the following format:

https://Your-Plug-N-Meet-Server.com/download/recording/<TOKEN HERE>