Hanzo
OpenapiCompliance

Records an org reviewer's decision on an accreditation record — a reviewer…

Records an org reviewer's decision on an accreditation record — a reviewer confirmation, a provider verification the reviewer has evidence of (a…

POST /v1/compliance/accreditation/{id}/decision

Addresshttps://api.hanzo.ai/v1/compliance/accreditation/{id}/decision
MethodPOST
Operationpost_compliance_accreditation_by_id_decision
AuthAuthorization: Bearer $HANZO_API_KEY

Records an org reviewer's decision on an accreditation record — a reviewer confirmation, a provider verification the reviewer has evidence of (a CPA/attorney letter, a verifier report), a rejection, or an expiry. ROLE-GATED (an org admin or platform reviewer) and ATTRIBUTED: the reviewer's identity is recorded as ReviewerSub and audited. Human-in-the-loop: the platform never confirms on its own, and even a provider_verified state carries the reviewer who recorded it.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the accreditation record to decide, from the path.
idbodystringID is the accreditation record to decide, from the path.
statusbodystringStatus is the decision being recorded: reviewer_confirmed, provider_verified, rejected, or expired.

Response

StatusBodyMeaning
200accViewok

200 body — 11 fields.

FieldInTypeAlwaysDescription
basisbodystringBasis is the qualification category: income, net_worth, professional_license, or entity.
createdAtbodyintegerCreatedAt is the unix second the record was created.
evidenceDocIdbodystringEvidenceDocID references an evidence document in the org's sealed data room.
expiresAtbodyintegerExpiresAt is the unix second a confirmation ages out; 0 means none.
idbodystringID is the accreditation record's opaque id.
methodbodystringMethod is how the state was established: self_attested, third_party_letter, or provider_verified.
notebodystringNote is a non-PII operator note.
reviewerSubbodystringReviewerSub is the org user who recorded a decision on this record.
statusbodystringStatus is the tracked state: asserted, provider_verified, reviewer_confirmed, rejected, or expired.
subjectIdbodystringSubjectID is the opaque id of the subject the record is about.
updatedAtbodyintegerUpdatedAt is the unix second the record last changed.

Failure carries the platform error shape — see Errors.

Examples

hanzo compliance accreditation decision <id>

Compliance API · All Hanzo APIs · Interactive reference

How is this guide?

On this page