HTML Asset File

  1. If you don’t have a public URL, upload the HTML file alongside content_type: "text/html" 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": "index.html",
  "size_bytes": 215,
  "type": "html",
  "mime": "text/html",
  "subtype": "upload",
  "url":"https://public.url.com/index.html"
}