Skip to main content
POST
Upload image from URL.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string
required

Body

application/json
fileUrl
string
required

A file URL to upload

preferredFilename
string
Maximum string length: 1024
accessType
enum<string>
default:public

File access type. network type requires authentication to download.

Available options:
public,
network
altText
string

Alternative text for the file.

Maximum string length: 180

Response

Image Upload Result

fileId
string

Root file key on cloud storage.

fileUrl
string

url to download the file

type
enum<string>

File type.

Available options:
image,
file,
video
Example:

"image"

accessType
enum<string>
default:public

File access type. network type requires authentication to download.

Available options:
public,
network
altText
string

Alternative text for the file.

createdAt
string<date-time>

The date/time when a file is uploaded.

updatedAt
string<date-time>

The date/time when a file is updated.

attributes
object