Download Files

Posted Jan 10 2022 13:50:58 in API
To access files via our API you'll need an api_key, which is available on our Business plan, and can be found here

Using the API, it's possible to generate direct download links (valid for 1 hour) and get file contents without interacting with our website.

Generate a file download link


$ curl "https://ufile.io/v1/download/FILE_SLUG" \
-H "X-API-KEY: YOUR_API_KEY"
  

Response Example

  
"https://cdn-ps-la-2.ufile.io/get/l4i9b3ap?token=MGM4MDM5MDJiNDY1ZDdmZDJiY......"
  

Once you have the direct file URL, you can download the contents using your preferred method (E.G - wget, cURL etc.)

Generated file links will be valid for 1 hour, and only available to your IP address

More recent stories

Jan 10 2022 13:50:58
How do I cancel my subscription?
Read More
Jan 10 2022 13:50:58
How secure is Uploadfiles?
Read More

Ready to go Pro?

Signup today and unlock all our features