cURL
curl --request GET \ --url https://api.example.com/api/files/{file_id}/preview-url \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Get a signed URL for file preview.
Args: file_id: UUID of the file
Returns: Signed URL (valid for 1 hour)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response