curl --request GET \
--url https://api.app.hrizn.io/v1/public/content/{id}/html \
--header 'X-API-Key: <api-key>'
Copy
{ "data": { "id": "4d42cdcf-e24f-4123-960e-6c15761fcfcf", "html": "<h2>Unveiling the Power and Performance of the 2026 Chevy Silverado 3500 DRW</h2>\n<p>The 2026 Chevy Silverado 3500 DRW is engineered to deliver a true heavy-duty driving experience...</p><!-- hrizn-content ... -->", "component_status": "complete", "updated_at": "2026-02-27T21:42:56.625882+00:00" }}
Content
Get content HTML
Get the CMS-ready HTML body of content
GET
/
content
/
{id}
/
html
Get CMS-ready HTML
Copy
curl --request GET \
--url https://api.app.hrizn.io/v1/public/content/{id}/html \
--header 'X-API-Key: <api-key>'
Copy
{ "data": { "id": "4d42cdcf-e24f-4123-960e-6c15761fcfcf", "html": "<h2>Unveiling the Power and Performance of the 2026 Chevy Silverado 3500 DRW</h2>\n<p>The 2026 Chevy Silverado 3500 DRW is engineered to deliver a true heavy-duty driving experience...</p><!-- hrizn-content ... -->", "component_status": "complete", "updated_at": "2026-02-27T21:42:56.625882+00:00" }}
Returns the content’s main body as CMS-ready HTML. The output is identical to what the “Copy code to CMS” button produces in the Hrizn dashboard and includes:
Bootstrap table classes for responsive table styling
Hrizn attribution tag appended at the end of the content
Sanitized HTML safe for direct CMS embedding
Send Accept: text/html to receive raw HTML instead of a JSON wrapper.Scope required:content:read
{ "data": { "id": "4d42cdcf-e24f-4123-960e-6c15761fcfcf", "html": "<h2>Unveiling the Power and Performance of the 2026 Chevy Silverado 3500 DRW</h2>\n<p>The 2026 Chevy Silverado 3500 DRW is engineered to deliver a true heavy-duty driving experience...</p><!-- hrizn-content ... -->", "component_status": "complete", "updated_at": "2026-02-27T21:42:56.625882+00:00" }}
To get raw HTML directly (useful for embedding in a CMS), set the Accept header to text/html. The response body will be the HTML string without a JSON wrapper.
Tables in the HTML include Bootstrap classes (table, table-striped) for styling. If your CMS does not use Bootstrap, you may need to add equivalent CSS or strip these classes.