Used to retrieve a specific file using its unique file identifier.
Overview
Use this endpoint to download files generated within the Xtremepush platform. This request returns a 302 redirect to a pre-signed S3 URL that expires after 5 minutes.
You can download exported segments or other platform-generated files using this endpoint.
The primary requirement for this request is the fileId path parameter. You must also include standard OAuth 2.0 authentication headers to access the endpoint.
Prerequisites: You must use a valid OAuth 2.0 access token. The File Download scope must be enabled for your API Client ID. The requested file must belong to your authenticated project. If you attempt to access a file from a different project, the request returns a 403 Forbidden error.
The OAuth 2.0 bearer token. Example: Bearer
The unique identifier of the file to download
The request is successful. The response includes a Location header containing the presigned S3 URL. This link is valid for 5 minutes.
Unauthorized
{
"success": "False",
"message": "oAuth authentication required"
}Forbidden
{
"name": "Bad Request",
"message": "Access Denied"
}Not Found
{
"name": "Not Found",
"message": "File Not Found"
}Internal Server Error
{
"name": "Internal Server Error",
"message": "S3 not configured"
}