DocsAPI referenceFiles
Get a fresh signed download URL
GET /v1/jobs/{id}/outputs/{alias}
Needs an API key: Authorization: Bearer $VIDEXO_API_KEY.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | job_ and 24 lowercase letters and digits. |
alias required | path | string |
Request
bash
# Prints the fresh signed URL the API redirects to.
curl -sS -o /dev/null -w '%{redirect_url}\n' "$VIDEXO_API_URL/v1/jobs/job_3k9x0c2mfq8w1n7r5t4b6v2z/outputs/out_video" \
-H "Authorization: Bearer $VIDEXO_API_KEY"Copy failed. The text is selected; copy it with your keyboard.
JavaScript
const response = await fetch(`${process.env.VIDEXO_API_URL}/v1/jobs/job_3k9x0c2mfq8w1n7r5t4b6v2z/outputs/out_video`, {
headers: { Authorization: `Bearer ${process.env.VIDEXO_API_KEY}` },
redirect: 'manual',
});
const downloadUrl = response.headers.get('location');Copy failed. The text is selected; copy it with your keyboard.
Response
302 headers
HTTP/1.1 302 Found
location: https://api.videxo.io/v1/files/job_3k9x0c2mfq8w1n7r5t4b6v2z/out_video?account=acc_example&expires=1793797269&signature=exampleCopy failed. The text is selected; copy it with your keyboard.
Responses
| Status | Body | When |
|---|---|---|
| 302 | none | Redirect to the signed download URL. |
| 400 | Problem | invalid_request |
| 401 | Problem | authentication_failed (missing_api_key, invalid_api_key, api_key_revoked, api_key_expired) |
| 403 | Problem | permission_denied (token_scope): a client token cannot call this route |
| 404 | Problem | not_found (job, output, file) |
| 410 | Problem | resource_expired (file_expired) |
| 429 | Problem | rate_limited |