Phone + ID
Verify a Kenyan phone number together with a national ID via POST /api/v1/phone-id/ke. Other country codes are not supported yet. HTTP 200 and 404 are billable; validation 400 is not.
Request
POST/api/v1/phone-id/ke
{{baseUrl}}/api/v1/phone-id/keHeader
Body Parameters
Sample request body
All verification APIs require consent: true in the JSON body.
Sample dataSample request body
{
"phone_number": "0712345678",
"national_id": "12345678",
"consent": true
}Response
200 OKSample dataExample response
{
"success": true,
"response_code": 200,
"message": "Phone + ID Verification Details Fetched Successfully",
"country": "ke",
"data": {
"phone_number": {
"name": "JOHN DOE KAMAU",
"phone_number": "0712345678",
"account": "0712345678",
"institution": null,
"verification_status": "Match",
"is_valid": true
},
"national_id": {
"id_number": "12345678",
"name": "JOHN DOE KAMAU",
"first_name": "JOHN",
"last_name": "KAMAU",
"other_name": "DOE",
"gender": "Male",
"date_of_birth": "1990-01-01",
"citizenship": "Kenyan",
"serial_number": "237314661",
"is_valid": true,
"photo_path": "https://cdn.example.com/id_card_images/12345678_photo.jpg",
"fingerprint_path": null,
"signature_path": null
}
},
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}Response Fields
Error codes
Standard Peleza HTTP / response_code values (same across all API calls). Validation message text is endpoint-specific. Full reference: Error Codes.
Set {{baseUrl}} to https://api.peleza.com (production) or https://sandbox.peleza.com (sandbox). Authenticated calls need a Bearer token from POST /api/v1/oauth/token.
