Skip to main content
POST
Upload an image from a URL
Replace {your-subdomain} with your workspace’s subdomain.
Learn how to find your subdomain in Workspace subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.

Body

application/json
url
string
required

https address of the image.

Example:

"https://example.com/files/banner.png"

filename
string

Name the image carries in the workspace. Taken from the address when omitted.

Example:

"hero.png"

Response

Created - Image stored successfully

signed_id
string

Identifier of the stored image. Pass it as background_image when you create or update a theme.

Example:

"eyJfcmFpbHMiOnsiZGF0YSI6MTIzfX0--abc123"

filename
string
Example:

"banner.png"

content_type
string
Example:

"image/png"

byte_size
integer

Size of the image in bytes.

Example:

153