List content types
curl --request GET \
--url https://api.app.hrizn.io/v1/public/site/content-types \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.app.hrizn.io/v1/public/site/content-types"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.app.hrizn.io/v1/public/site/content-types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.app.hrizn.io/v1/public/site/content-types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.app.hrizn.io/v1/public/site/content-types",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"content_types": [
{ "id": "basic", "label": "Basic" },
{ "id": "comparison", "label": "Comparison" },
{ "id": "expert", "label": "Ask the Expert Article" },
{ "id": "modellanding", "label": "Model Landing" },
{ "id": "qa", "label": "Q&A Article" },
{ "id": "salesevent", "label": "Sales Event" },
{ "id": "socialpost", "label": "Social Post" },
{ "id": "template", "label": "Template" }
]
}
}
Get content types
List content types enabled for this site
GET
/
site
/
content-types
List content types
curl --request GET \
--url https://api.app.hrizn.io/v1/public/site/content-types \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.app.hrizn.io/v1/public/site/content-types"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.app.hrizn.io/v1/public/site/content-types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.app.hrizn.io/v1/public/site/content-types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.app.hrizn.io/v1/public/site/content-types",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"content_types": [
{ "id": "basic", "label": "Basic" },
{ "id": "comparison", "label": "Comparison" },
{ "id": "expert", "label": "Ask the Expert Article" },
{ "id": "modellanding", "label": "Model Landing" },
{ "id": "qa", "label": "Q&A Article" },
{ "id": "salesevent", "label": "Sales Event" },
{ "id": "socialpost", "label": "Social Post" },
{ "id": "template", "label": "Template" }
]
}
}
Returns the available content types. These are global types available across all sites.
Scope required:
site:read
{
"data": {
"content_types": [
{ "id": "basic", "label": "Basic" },
{ "id": "comparison", "label": "Comparison" },
{ "id": "expert", "label": "Ask the Expert Article" },
{ "id": "modellanding", "label": "Model Landing" },
{ "id": "qa", "label": "Q&A Article" },
{ "id": "salesevent", "label": "Sales Event" },
{ "id": "socialpost", "label": "Social Post" },
{ "id": "template", "label": "Template" }
]
}
}
Authorizations
Your Hrizn API key (prefix hzk_)
Last modified on May 1, 2026
⌘I
