import_brand_asset
Import an image to forms.ax hosting
Copy an image from a public https URL onto forms.ax hosting (EU storage, served from the workspace's own form domain) and get back a stable URL. Use BEFORE setting a logo, background image, or image block when the user's image lives on their website or another host — imported assets never break from hotlink changes, never cause mixed-content warnings, and let no third party track respondents. Then use the returned url in set_brand_kit (logo_url), update_form branding.theme.backgroundImageUrl, or a set_layout image block. Accepts JPEG/PNG/WebP/GIF/SVG up to 5 MB; counts toward the workspace storage quota.
Imported images are served from your own form domain with EU storage — no hotlink rot, no mixed-content warnings, and no third party sees your respondents. Accepts JPEG/PNG/WebP/GIF/SVG up to 5 MB, counted toward your storage quota. Use the returned URL in your brand kit, theme or image blocks.
| Parameter | Type | Description |
|---|---|---|
| url * | string | Public https:// URL of the image to import |
| kind | "logo" | "background" | "image" | What the asset is for (bookkeeping; default 'image') |
| filename | string | Optional friendly filename; derived from the URL if omitted |
* required