Skip to main content
GET
/
content
/
{id}
/
html
Get CMS-ready HTML
curl --request GET \
  --url https://api.app.hrizn.io/v1/public/content/{id}/html \
  --header 'X-API-Key: <api-key>'
{
  "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

Path parameters

id
string
required
UUID of the content.

Response

id
string
Content UUID.
html
string
CMS-ready HTML string with Bootstrap table classes and Hrizn attribution.
component_status
string
Status of the body component (e.g. complete, generating).
updated_at
string
ISO 8601 timestamp of last update.
{
  "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.

Authorizations

X-API-Key
string
header
required

Your Hrizn API key (prefix hzk_)

Path Parameters

id
string<uuid>
required

Content ID

Response

Content HTML

data
object
Last modified on March 1, 2026