Hanzo
OpenapiCompliance

Returns one subject WITH its contact PII — the only surface that returns it,…

Returns one subject WITH its contact PII — the only surface that returns it, and only to the owning org.

GET /v1/compliance/subjects/{id}

Addresshttps://api.hanzo.ai/v1/compliance/subjects/{id}
MethodGET
Operationget_compliance_subjects_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one subject WITH its contact PII — the only surface that returns it, and only to the owning org. The response is never cached by any intermediary.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the subject to read, from the path.

Response

StatusBodyMeaning
200Subjectok

200 body — 8 fields.

FieldInTypeAlwaysDescription
createdAtbodyintegerCreatedAt is when the subject was first recorded, Unix SECONDS.
emailbodystringEmail is the party's address, when the org supplied one.
idbodystringID is the opaque handle every other record uses to point at this party.
kindbodystringKind is what is being verified: "individual" (a natural person, so KYC) or "business" (a legal entity, so KYB).
namebodystringName is the party's name, under the same PII rule as Email.
orgbodystringOrg is the tenant that is doing the verifying — the party who must answer for this record, not the party being verified.
refbodystringRef is the org's OWN identifier for this party, carried so a caller can match a subject back to their system without keeping a second mapping.
updatedAtbodyintegerUpdatedAt is when the subject's own fields last changed, Unix seconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo compliance subjects get <id>

Compliance API · All Hanzo APIs · Interactive reference

How is this guide?

On this page