Skip to main content
POST
Remote URL upload

Overview

Fetches a file from a public HTTP or HTTPS URL on our servers and stores it in your workspace. Use this when the file already lives on another server and you don’t want to download it locally first.

Required request

Headers

Body fields

Minimal example

Example with options

Next steps

Direct upload

Upload a file’s bytes directly from your backend.

List files

Page through the files in your workspace.

Authorizations

x-api-key
string
header
required

API key for public endpoints. Can also be provided via Authorization: Bearer

Body

application/json
remote_url
string<uri>
required

HTTP/HTTPS URL to fetch

file_name
string

Override file name

folder
string

Destination folder path

tags

Tags array or comma-separated string

random_prefix
string

true/false to append random suffix

custom_id
string
metadata
string

JSON string of metadata object

webhook_url
string<uri>

Response

Upload created

Upload created

id
string
required
file_no
string
required
workspace_id
string
required
name
string
required
path
string
required
url
string
required
width
integer | null
required
Required range: -9007199254740991 <= x <= 9007199254740991
height
integer | null
required
Required range: -9007199254740991 <= x <= 9007199254740991
size
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
mime_type
string
required
tags
string[]
required
metadata
object | null
required
custom_id
string | null
required
folder_no
string | null
required
is_duplicate
boolean
required
created_at
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
upload_source
string
required
thumbnail
string
required
extension
string
required
format
string
hash
string
is_private
boolean