Send HTML to the publish endpoint.
curl -X POST https://api.example.test/documents \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: text/html" \ --data-binary @report.html
The response contains the document URL.