Skip to main content
POST
Import an image from a URL

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Learn how to obtain an API key

Body

application/json
url
string<uri>
required

A public http(s) URL of a JPEG, PNG, WebP or SVG, up to 25 MB (SVG 10 MB).

Maximum string length: 2048
folder_reference
string
required

The reference of the project or folder to save the files in. Required: one you cannot add to returns 403.

Maximum string length: 64
file_name
string | null

The file's name, with its extension. It becomes the creation's name.

Maximum string length: 255
visible
boolean

Default true. false keeps the creation out of your library, as a working asset.

Response

data
object
required