List videos
GET
/v1/videos
const url = 'https://api.clipbeat.app/v1/videos?limit=20';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.clipbeat.app/v1/videos?limit=20' \ --header 'Authorization: Bearer <token>'Latest videos of the account.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
Responses
Section titled “Responses”Videos
Media typeapplication/json
object
videos
Array<object>
object
id
string format: uuid
status
string
tier
string
title
string | null
aspect
string | null
created_at
string | null format: date-time
progress
object
stage
string | null
done
integer
total
integer
percent
integer
cost
object
credits_reserved
integer
credits_charged
integer
credits_refunded
integer
usd
number
result
object
video_url
string | null
poster_url
string | null
expires_in_sec
integer
error
string
Example
{ "videos": [ { "status": "queued", "tier": "preview" } ]}Missing, invalid or revoked API key
Media typeapplication/json
object
error
required
string
message
required
string
topup_url
string
retry_after_sec
integer
Example generated
{ "error": "example", "message": "example", "topup_url": "example", "retry_after_sec": 1}