GET
/
file
/
{file_id}
/
url
Get temporary file URL
curl --request GET \
  --url https://api.vidnavigator.com/v1/file/{file_id}/url \
  --header 'X-API-Key: <api-key>'
{
  "status": "success",
  "data": {
    "file_id": "<string>",
    "file_url": "<string>"
  }
}
Generate a temporary, signed URL to directly access and read an uploaded file. This URL is valid for 1 hour.

Path Parameter

  • file_id (string, required)

Example Request

cURL
curl "https://api.vidnavigator.com/v1/file/file_abc123/url" \
  -H "X-API-Key: YOUR_API_KEY"

Success Response (200 OK)

Returns a temporary, signed URL that can be used to access the file directly. The URL will expire after a short period.
{
  "status": "success",
  "data": {
    "file_id": "file_abc123",
    "file_url": "https://signed.aws.url/file_abc123?exp=1700000000"
  }
}

Authorizations

X-API-Key
string
header
required

API key authentication. Include your VidNavigator API key in the X-API-Key header.

Path Parameters

file_id
string
required

The ID of the file

Response

200
application/json

File URL generated successfully

The response is of type object.