Import Asset from URL

Imports a file from a remote URL and creates an asset. Useful for handling external images that can't be fetched from the browser due to CORS restrictions.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Body Params

url
required

The URL of the file to import as an asset

string

The keywords to be used for the asset. If not provided, will be generated from the filename.

string
enum

The type of asset (image, pdf, css, js). If not provided, will be auto-detected from the content type.

Allowed:
tag_ids
array of integers

Array of tag ids to associate with Asset

tag_ids
Responses
201

The imported asset

400

Invalid URL or failed to import file

422

Unsupported file type

500

Upload or processing failed after the file was fetched.

Language
Credentials
Bearer
JWT
URL
LoadingLoading…