You can retrieve the playable URL for a specific video.
Unlike the 'Video iframe call API', which returns an iframe with a player, this API provides a direct link to the video source.
Name | Required/Optional | Type | Description | Notes |
---|---|---|---|---|
Authorization | Required | string | API authentication key | Authorization: Bearer your-api-key |
The API authorization key is the API key created in [Web Admin > Workspace > Settings > API Key].
You must add 'Bearer ' in front of the API key to ensure proper authentication processing. | | Version | Required | string | API version | Version: 2025-09-14
You must specify the correct version to use the API. |
Name | Required/Optional | Type | Description | Notes |
---|---|---|---|---|
videoCode | Required | string | Recorded video No. |
<https://api.realpacking.com/v3/videos/videoCode12345/playback-url>
Name | Required/Optional | Type | Description | Notes |
---|---|---|---|---|
generation-type | optional | string | generation type | If the generation-type parameter is omitted, the API will return playback URLs for all individual videos associated with the requested videoCode . Therefore, if there are N videos for the given videoCode , N playback URLs will be provided (N ≥ 1). |
If the generation-type
parameter is included, latest
is the only permissible value.
latest
: Returns a single playback URL for the most recent video among those associated with the requested videoCode
. |
<https://api.realpacking.com/v3/videos/videoCode12345/playback-url?generation-type=latest>
No Request Body Required
Name | Required/Optional | Type | Description | Notes |
---|---|---|---|---|
message | Required | string | http status message | |
data | Required | map | Resulting data map | |
data.videoCode | Required | string | Recorder Video No. | |
data.urlData | Required | map[] | Video URL data | |
data.urlData[i].url | Required | string | Video playback URL | |
data.urlData[i].videoId | Required | string | Video id | |
data.urlData[i].recordedDate | Required | string | Date of the Video recorded | Format: YYYY-MM-DDThh:mm:ss+00:00 (ISO8601) |