Image Asset File

  1. If you don’t have a public URL, upload the HTML file alongside appropriatecontent_type parameter to File Upload API.
  2. Send the public URL as url parameter and send subtype=uploadto Create Asset File API endpoint.
    Example payload:
{
    "name": "image.png",
    "size_bytes": 7117,
    "type": "image",
    "mime": "image/png",
    "height": 600,
    "width": 600,
    "subtype": "upload",
    "url": "https://public.url.com/image.png"
}