Developers
Kvali API
Add merchants, start website reviews and read the findings with their evidence, from your own back office. Webhooks tell you when something is ready. A person still decides, in Kvali.
The reference and the recipes are in English. Version 2.7.0. No account yet? Book a demo
curl -X POST "https://aikvali.com/api/v1/reviews" \
-H "Authorization: Bearer $KVALI_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"merchant_id":"3f0c2a52-6a1e-4c1b-9d55-2f7f5b1e9a10","kind":"onboarding"}'const res = await fetch("https://aikvali.com/api/v1/reviews", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.KVALI_KEY}`, "Content-Type": "application/json", "Idempotency-Key": crypto.randomUUID() },
body: JSON.stringify({
"merchant_id": "3f0c2a52-6a1e-4c1b-9d55-2f7f5b1e9a10",
"kind": "onboarding"
}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const { data } = await res.json();import os, uuid
import requests
res = requests.post(
"https://aikvali.com/api/v1/reviews",
headers={"Authorization": f"Bearer {os.environ['KVALI_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"merchant_id": "3f0c2a52-6a1e-4c1b-9d55-2f7f5b1e9a10",
"kind": "onboarding",
},
timeout=30,
)
if not res.ok:
raise RuntimeError(res.json()["error"]["message"])
data = res.json()["data"]{
"data": {
"id": "3f0c2a52-6a1e-4c1b-9d55-2f7f5b1e9a10",
"created_at": "2026-10-22T09:30:00Z",
"merchant_id": "3f0c2a52-6a1e-4c1b-9d55-2f7f5b1e9a10",
"website": "https://shop.ge/",
"kind": "onboarding",
"status": "queued",
"declared_mcc": "5732",
"detected_mcc": null,
"recommendation": null,
"confidence": null,
"decision": null,
"pages_read": 0,
"rulebook_version": 3,
"started_at": null,
"finished_at": null,
"error": null,
"link": "https://kvali.example/reviews/3f0c2a52-6a1e-4c1b-9d55-2f7f5b1e9a10"
},
"warnings": []
}Quickstart
- Create a keyIn Kvali, an owner or admin opens Settings → API. The key is shown once. Choose the smallest scope the system needs.
- Send it on every requestAs the header Authorization: Bearer kv_live_… JSON in, JSON out.
- Make your first callList one merchant. A 200 with a data list means the key works.
curl "https://aikvali.com/api/v1/merchants?limit=1" \
-H "Authorization: Bearer $KVALI_KEY"const res = await fetch("https://aikvali.com/api/v1/merchants?limit=1", {
headers: { Authorization: `Bearer ${process.env.KVALI_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error.message);
const { data } = await res.json();import os
import requests
res = requests.get(
"https://aikvali.com/api/v1/merchants?limit=1",
headers={"Authorization": f"Bearer {os.environ['KVALI_KEY']}"},
timeout=30,
)
if not res.ok:
raise RuntimeError(res.json()["error"]["message"])
data = res.json()["data"]Keys and scopes
A key works for its own organisation only, with one scope: read (every GET), reviews (read, plus starting reviews and sending applications) or full (everything, also adding and changing merchants). No scope can approve, decline, dismiss or close anything: a person does that in Kvali.
The three calls most integrations start with
Add a merchant
One merchant by website, with its tax ID (registry_id) and your own id (external_ref) to find it again.
curl -X POST "https://aikvali.com/api/v1/merchants" \
-H "Authorization: Bearer $KVALI_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"legal_name":"Shop LLC","website":"https://shop.ge","trade_name":"Shop","country":"GE","registry_id":"405000000","declared_mcc":"5732","risk_tier":"standard","status":"prospect","external_ref":"CRM-1234","tags":["electronics"],"mids":["MID-0001","MID-0002"],"billing_descriptor":"SHOP.GE TBILISI","descriptor_contact":"+995 32 200 00 00"}'const res = await fetch("https://aikvali.com/api/v1/merchants", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.KVALI_KEY}`, "Content-Type": "application/json", "Idempotency-Key": crypto.randomUUID() },
body: JSON.stringify({
"legal_name": "Shop LLC",
"website": "https://shop.ge",
"trade_name": "Shop",
"country": "GE",
"registry_id": "405000000",
"declared_mcc": "5732",
"risk_tier": "standard",
"status": "prospect",
"external_ref": "CRM-1234",
"tags": [
"electronics"
],
"mids": [
"MID-0001",
"MID-0002"
],
"billing_descriptor": "SHOP.GE TBILISI",
"descriptor_contact": "+995 32 200 00 00"
}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const { data } = await res.json();import os, uuid
import requests
res = requests.post(
"https://aikvali.com/api/v1/merchants",
headers={"Authorization": f"Bearer {os.environ['KVALI_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"legal_name": "Shop LLC",
"website": "https://shop.ge",
"trade_name": "Shop",
"country": "GE",
"registry_id": "405000000",
"declared_mcc": "5732",
"risk_tier": "standard",
"status": "prospect",
"external_ref": "CRM-1234",
"tags": [
"electronics",
],
"mids": [
"MID-0001",
"MID-0002",
],
"billing_descriptor": "SHOP.GE TBILISI",
"descriptor_contact": "+995 32 200 00 00",
},
timeout=30,
)
if not res.ok:
raise RuntimeError(res.json()["error"]["message"])
data = res.json()["data"]Start a review
Answers 202 at once. The review runs in the background, about a minute and a half.
curl -X POST "https://aikvali.com/api/v1/reviews" \
-H "Authorization: Bearer $KVALI_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"website":"https://shop.ge","merchant_name":"Shop LLC","registry_id":"405000000","declared_mcc":"5732","notes":"Applying for e-commerce acquiring"}'const res = await fetch("https://aikvali.com/api/v1/reviews", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.KVALI_KEY}`, "Content-Type": "application/json", "Idempotency-Key": crypto.randomUUID() },
body: JSON.stringify({
"website": "https://shop.ge",
"merchant_name": "Shop LLC",
"registry_id": "405000000",
"declared_mcc": "5732",
"notes": "Applying for e-commerce acquiring"
}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const { data } = await res.json();import os, uuid
import requests
res = requests.post(
"https://aikvali.com/api/v1/reviews",
headers={"Authorization": f"Bearer {os.environ['KVALI_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"website": "https://shop.ge",
"merchant_name": "Shop LLC",
"registry_id": "405000000",
"declared_mcc": "5732",
"notes": "Applying for e-commerce acquiring",
},
timeout=30,
)
if not res.ok:
raise RuntimeError(res.json()["error"]["message"])
data = res.json()["data"]Read the result
The recommendation and the findings, each with the exact quote from the page it was found on.
curl "https://aikvali.com/api/v1/reviews/3f0c2a52-6a1e-4c1b-9d55-2f7f5b1e9a10" \
-H "Authorization: Bearer $KVALI_KEY"const res = await fetch("https://aikvali.com/api/v1/reviews/3f0c2a52-6a1e-4c1b-9d55-2f7f5b1e9a10", {
headers: { Authorization: `Bearer ${process.env.KVALI_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error.message);
const { data } = await res.json();import os
import requests
res = requests.get(
"https://aikvali.com/api/v1/reviews/3f0c2a52-6a1e-4c1b-9d55-2f7f5b1e9a10",
headers={"Authorization": f"Bearer {os.environ['KVALI_KEY']}"},
timeout=30,
)
if not res.ok:
raise RuntimeError(res.json()["error"]["message"])
data = res.json()["data"]Rather not poll? The review.ready webhook arrives signed when the review is done. See the recipe