Check freeform copy
curl --request POST \
--url https://api.app.hrizn.io/v1/public/compliance/check \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"text": "<string>"
}
'import requests
url = "https://api.app.hrizn.io/v1/public/compliance/check"
payload = { "text": "<string>" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({text: '<string>'})
};
fetch('https://api.app.hrizn.io/v1/public/compliance/check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({text: '<string>'})
};
fetch('https://api.app.hrizn.io/v1/public/compliance/check', 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/compliance/check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'text' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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": {
"status": "completed",
"report": {
"overall": "FAIL",
"overall_score": 70,
"issues": [
{
"id": "a1b2c3d4e5f67890",
"severity": "HIGH",
"category": "msrpPricing",
"description": "Sale language below MSRP",
"problematic_text": "Huge sale",
"suggested_replacement": "Featured vehicles"
}
],
"disclaimer": "OEM advertising heuristics for dealership marketing copy — not legal advice."
},
"guidance": "Lead with HIGH severity issues..."
}
}
Check freeform compliance
Run a sync OEM compliance check on pasted marketing copy
POST
/
compliance
/
check
Check freeform copy
curl --request POST \
--url https://api.app.hrizn.io/v1/public/compliance/check \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"text": "<string>"
}
'import requests
url = "https://api.app.hrizn.io/v1/public/compliance/check"
payload = { "text": "<string>" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({text: '<string>'})
};
fetch('https://api.app.hrizn.io/v1/public/compliance/check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({text: '<string>'})
};
fetch('https://api.app.hrizn.io/v1/public/compliance/check', 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/compliance/check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'text' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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": {
"status": "completed",
"report": {
"overall": "FAIL",
"overall_score": 70,
"issues": [
{
"id": "a1b2c3d4e5f67890",
"severity": "HIGH",
"category": "msrpPricing",
"description": "Sale language below MSRP",
"problematic_text": "Huge sale",
"suggested_replacement": "Featured vehicles"
}
],
"disclaimer": "OEM advertising heuristics for dealership marketing copy — not legal advice."
},
"guidance": "Lead with HIGH severity issues..."
}
}
Analyzes arbitrary marketing copy against the dealership’s OEM advertising rules. Returns overall score, categories, and flat issues with
suggested_replacement text.
Scope required: compliance:write
Also requires the dealership’s Compliance Checking plan feature (Pro+ / add-on). Automotive heuristics only — not legal advice.
Body
string
required
Marketing copy to analyze (plain text or HTML).
string
Optional
plain or html hint.string
Optional label stamped onto the report (for example
social_ad).{
"data": {
"status": "completed",
"report": {
"overall": "FAIL",
"overall_score": 70,
"issues": [
{
"id": "a1b2c3d4e5f67890",
"severity": "HIGH",
"category": "msrpPricing",
"description": "Sale language below MSRP",
"problematic_text": "Huge sale",
"suggested_replacement": "Featured vehicles"
}
],
"disclaimer": "OEM advertising heuristics for dealership marketing copy — not legal advice."
},
"guidance": "Lead with HIGH severity issues..."
}
}
For interactive agent loops, call this tool, discuss HIGH issues, then Apply compliance fixes with
recheck: true.Last modified on July 26, 2026
