Retry the encoding of a failed video
const url = 'https://api.replifier.com/v1/videos/vid_01hx0000000000000000000000/retry';const options = {method: 'POST', 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 POST \ --url https://api.replifier.com/v1/videos/vid_01hx0000000000000000000000/retry \ --header 'Authorization: Bearer <token>'Only from failed and while the original is still in R2 (otherwise 409 video_upload_incomplete: it must be uploaded again). Resets the attempt count.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
vid_01hx0000000000000000000000Responses
Section titled “Responses”Video queued
object
uploading (waiting for the PUT to R2), queued, encoding, ready or failed
Actual size measured in R2 when the upload completed
object
M12.4: a lightweight animated preview for email is available
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
M12.3: if set, only that contact can watch the video with their link
Example
{ "status": "uploading"}Invalid data
object
object
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
object
object
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
object
object
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
object
object
Example
{ "error": { "code": "not_found" }}Conflict
object
object
Example
{ "error": { "code": "not_found" }}Internal error
object
object
Example
{ "error": { "code": "not_found" }}Service temporarily unavailable
object
object
Example
{ "error": { "code": "not_found" }}