Skip to content

Signed, expiring URLs to watch the video (HLS, MP4 and thumbnail)

GET
/v1/videos/{video}/playback
curl --request GET \
--url https://api.replifier.com/v1/videos/vid_01hx0000000000000000000000/playback \
--header 'Authorization: Bearer <token>'

For brand administrators (preview). Does not count as an open for any recipient. Only a ready video (409 video_invalid_state otherwise).

video
required
string
/^vid_[a-z0-9]{26}$/

Example

vid_01hx0000000000000000000000

Signed URLs

Media typeapplication/json

Signed URLs with an expiry. They expire on their own or if tampered with; do not store them.

object
hls
required
string
mp4
required
string
nullable
thumbnail
required
string
nullable
expiresAt
required
string

Example generated

{
"hls": "example",
"mp4": "example",
"thumbnail": "example",
"expiresAt": "example"
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Conflict

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Service temporarily unavailable

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}