Videos of the brand, most recent first (cursor-paginated)
GET
/v1/brands/{brand}/videos
const url = 'https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/videos';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/videos \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”brand
required
string
Example
brd_01hx0000000000000000000000Query Parameters
Section titled “Query Parameters”limit
string
cursor
string
Responses
Section titled “Responses”Videos
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
brandId
required
string
status
required
uploading (waiting for the PUT to R2), queued, encoding, ready or failed
string
title
required
string
fileName
required
string
contentType
required
string
sizeBytes
required
Actual size measured in R2 when the upload completed
integer
durationSeconds
required
number
width
required
integer
height
required
integer
renditions
required
Array<object>
object
name
required
string
width
required
integer
height
required
integer
videoKbps
required
integer
hasThumbnail
required
boolean
hasFallback
required
boolean
hasPreview
required
M12.4: a lightweight animated preview for email is available
boolean
previewBytes
required
integer
attempts
required
integer
failure
required
Only in failed: the cause in the language of the request. retryable: false = a retry will not fix it; another file must be uploaded.
object
code
required
string
cause
required
string
fix
required
string
detail
required
string
retryable
required
boolean
createdAt
required
string
readyAt
required
string
privateContactId
required
M12.3: if set, only that contact can watch the video with their link
string
nextCursor
required
string
Example
{ "data": [ { "status": "uploading" } ]}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" }}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" }}