cURL
curl --request GET \ --url https://{subdomain}.storage.{region}.nhost.run/v1/files/{id}/presignedurl \ --header 'Authorization: Bearer <token>'
{ "url": "https://storage.example.com/files/abc123?signature=xyz", "expiration": 3600 }
Retrieve presigned URL to retrieve the file. Expiration of the URL is determined by bucket configuration
API key to authorize requests.
Unique identifier of the file
File gathered successfully
Contains a presigned URL for direct file operations.
The presigned URL for file operations.
"https://storage.example.com/files/abc123?signature=xyz"
The time in seconds until the URL expires.
3600
Was this page helpful?