- If you don’t have a public URL, upload the HTML file alongside
content_type: "text/html"
parameter to File Upload API. - Send the public URL as
url
parameter and sendsubtype=upload
to Create Asset File API endpoint.
Example payload:
{
"name": "index.html",
"size_bytes": 215,
"type": "html",
"mime": "text/html",
"subtype": "upload",
"url":"https://public.url.com/index.html"
}