API Reference
Complete API documentation and schemas
Generate a secure, time-limited download URL for a file. The URL expires after the specified time-to-live (TTL) period.
cURL
curl --request GET \ --url https://api.spi-tch.com/v1/files/{file_id}/url
{ "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "url": "<string>", "expires_at": "2023-11-07T05:31:56Z" }
60 <= x <= 3600
Successful Response
Response model for file download URLs.
Attributes: file_id: Unique identifier for the file url: Pre-signed download URL expires_at: When the download URL expires
Was this page helpful?