Lookup Kenya National ID

Lookup Kenya National ID

This endpoint allows you to Lookup a Kenya National ID.

Request

{{baseURL}}/api/v1/ke/kyc/id

Headers

ParameterTypeDescription
AppIdstringyou would need to create an app to get your app ID
Authorizationstringpublic secret key e.g prod_sk_1T1eSavlZxy02OT3OWlvbxK4G

Query Params

BodyTypeDescription
id *stringThe national ID numberrequired
first_name *stringThe first name of the document holder.required
last_name *stringThe last name of the document holder.required
middle_namestringThe middle name of the document holder.
date_of_birth *stringThe date of birth of the document holder in the format yyyy-MM-dd..required
gender *stringThe gender of the document holder.required

Response Sample

{
  "entity": {
    "date_of_birth": "1996-02-21",
    "first_name": "John",
    "gender": "M",
    "id": "4812640614",
    "is_date_of_birth_match": true,
    "is_first_name_match": true,
    "is_gender_match": true,
    "is_last_name_match": true,
    "is_middle_name_match": true,
    "last_name": "Doe",
    "middle_name": "Donald"
  }
}
{
  "message": "national_id not found"
}