- If you don’t have a public URL, upload the HTML file alongside appropriate
content_type
parameter to File Upload API. - Send the public URL as
url
parameter and sendsubtype=upload
to 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"
}