Phone Number
Verify that a Kenyan phone number is linked to a given national ID. Accepts 07… / 01… or +254 formats.
Request
POST/api/v1/phone-number
{{baseUrl}}/api/v1/phone-numberHeader
Body Parameters
Response
200 OKSample dataExample response
{
"success": true,
"response_code": 200,
"message": "Phone number verified successfully",
"data": {
"phone_number": "0712845631",
"national_id": "1028845317",
"linked": true,
"carrier": "Safaricom"
},
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}Response Fields
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.
