Skip to content
Browse all functions

Upload an Asset

files/uploadasset

uploadasset (Upload an Asset) is a 1001fx API function in the group Files & PDF: POST https://api.1001fx.com/files/uploadasset, 3 credits per call. It works as a ready-made module in Make and n8n or as a plain HTTP call.

3 credits per callHTTP APIn8nMake

Uploads an asset (image, ZIP, audio, video, PDF …) to our storage and returns a download URL. The asset is deleted automatically at the end of the next day.

Try it in the 1001fx app

Run uploadasset in your browser with your API key – fill the form, click Run and get the answer or the file.

uploadasset in the 1001fx app: the form with example values
Upload an Asset in the 1001fx app

Endpoint

POSThttps://api.1001fx.com/files/uploadasset
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
multipart/form-data

Parameters

  • filefilerequired

    Asset file to be processed.

Examples

Upload an asset

Uploads an asset

Input

Expects one file named as file parameter: file
{
  "files": [
    {
      "name": "1600x900.png",
      "type": "image/png",
      "path": "testdata/images/1600x900.png"
    }
  ]
}

Output · HTTP 200

Result is a single file.
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/files/uploadasset' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -F 'file=@1600x900.png'

Use cases

Try uploadasset now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.021.03.2023created
Ask 1001fx