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.

Headers

Name Required/Optional Type Description Notes
Authorization Required string API authentication key Authorization: Bearer your-api-key

Request Parameter

Path Segment Parameter

Name Required/Optional Type Description Notes
videoCode Required string Recorded video No.

Example Endpoint

<https://api.realpacking.com/v3/videos/videoCode12345/playback-url>

Query String Parameter

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. |

Example Endpoint

<https://api.realpacking.com/v3/videos/videoCode12345/playback-url?generation-type=latest>

Request Body

No Request Body Required

Response

Success

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)

Response Example