Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

API key authentication

Query Parameters

source
enum<string>
default:upload

Source recorded on the stored file. Defaults to upload; files stored under other sources are excluded from the default listing.

Available options:
upload,
brand-kit

Body

application/json
url
string
required

Public HTTPS URL of a JPEG, PNG, GIF or WebP image of at most 10 MB. Up to three redirects are followed.

Required string length: 1 - 2048
Example:

"https://www.example.com/images/logo.png"

fileName
string

Name to store the image under, without path separators or control characters; its extension is set to match the image type. Defaults to the last segment of the URL path.

Required string length: 1 - 200
Pattern: ^[^\u0000-\u001f\u007f/\\]+$
Example:

"logo.png"

Response

Image stored, or an identical existing image returned

createdAt
string<date-time>
deduplicated
boolean

True when an identical image already existed in the account and that file was returned instead of a new copy

fileId
string<uuid>
fileSize
integer
height
integer

Image height in pixels when known

Required range: x >= 1
mimeType
string
originalName
string
url
string<uri>
width
integer

Image width in pixels when known

Required range: x >= 1