Hanzo
OpenapiCompliance

Records an ASSERTED accreditation state for a subject — the subject's own…

Records an ASSERTED accreditation state for a subject — the subject's own assertion, with no verifier.

POST /v1/compliance/accreditation

Addresshttps://api.hanzo.ai/v1/compliance/accreditation
MethodPOST
Operationpost_compliance_accreditation
AuthAuthorization: Bearer $HANZO_API_KEY

Records an ASSERTED accreditation state for a subject — the subject's own assertion, with no verifier. Every CONFIRMED state (provider_verified, reviewer_confirmed) and every rejected/expired state is a DECISION recorded via the decision endpoint, attributed to the reviewer — a create can never stamp a confirmation. The underlying figures (income, net worth) are never stored; only the method, category, and state.

Request

7 fields, body application/json (required).

FieldInTypeRequiredDescription
basisbodystringBasis is the qualification category: income, net_worth, professional_license, or entity.
evidenceDocIdbodystringEvidenceDocID references an evidence document in the org's sealed data room.
expiresAtbodyintegerExpiresAt is the unix second a confirmation ages out; 0 means none.
methodbodystringMethod is how the state was established: self_attested, third_party_letter, or provider_verified.
notebodystringNote is a non-PII operator note.
statusbodystringStatus may only be "asserted" (empty reads as asserted); every confirmed, rejected or expired state is recorded via the decision endpoint.
subjectIdbodystringSubjectID names the subject this record is about; it must exist within the org.

Response

StatusBodyMeaning
201accViewcreated

201 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 create

Compliance API · All Hanzo APIs · Interactive reference

How is this guide?

On this page