Skip to main content
POST
Upload file

Authorizations

Authorization
string
header
required

Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.

Headers

Content-Disposition
string
required

must match pattern ((inline|attachment); )?filename\*=UTF-8''(.+)

Body

Remote file to upload; url holds the source URL to download from

url
string

Remote URL to download the file from

Response

Created

name
string
read-only

File name

size
integer<int64>
read-only

File size in bytes

type
string
read-only

File type

uid
string
read-only

Unique identifier used in API paths