Background checks
Police clearance (certificate of good conduct) verification against the DCI portal.
Police clearance certificate (DCI)
Verifies a DCI police clearance (certificate of good conduct) against the DCI portal, using its reference number and the holder's ID number. Returns the verdict, holder name, issue and expiry dates (valid one year from issue) and any recorded offences. found: false with reason CERTIFICATE_NOT_FOUND or ID_MISMATCH is DCI's own answer. Checks can take up to a minute.
Price: set by your bundle; one charge per call. "Not found" answers (result.found: false) are charged. Source failures return 502 and are refunded.
Try it: press Test on the request panel, choose ApiKey under Authentication and paste your test key (kept for this browser session). Use Example loads a scenario for each outcome. Test keys return sandbox sample data, free.
Headers
Idempotency-KeyMakes retries safe: a repeat with the same key and body returns the original verification without charging again. Up to 255 characters.
Police clearance certificate (DCI) › Request Body
refNumber^PCC-[A-Z0-9]{6,12}$ · requiredReference number printed on the certificate.
idNumber^\d{6,10}$ · requiredNational ID number of the certificate holder.
Police clearance certificate (DCI) › Responses
Verification completed; see result.
idUnique id; use it to fetch the verification again.
apiThe verification API that was called, e.g. identity.national-id.
statusCOMPLETED includes "not found" answers; FAILED means the source failed and the charge was refunded.
environmentTEST for test keys (sandbox data), LIVE for live keys.
The answer, specific to each API (see its examples). Always has found: false when the source holds no record.
errorSet when status is FAILED.
costAmount charged in KES, as a decimal string. "0" for test keys and failed verifications.
createdAtlatencyMsTime the source took to answer, in milliseconds.
completedAt