There are two payload responses for this endpoint based on the details returned:
- Basic
- Advanced
Phone Number Basic
[GET]
Header
| Header | Type | Description |
|---|---|---|
| AppId | string | Create an app to get your app ID on dashboard here |
| Authorization | string | Private/secret key. Use <key> not Bearer <key> |
Query parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| phone_number * | string | A valid phone number | required |
Sample response
Response
Response Fields
| Field | Type | Description |
|---|---|---|
| entity | object | Contains the phone number lookup response data |
| entity.first_name | string | First name of the phone number subscriber |
| entity.middle_name | string | Middle name of the phone number subscriber |
| entity.last_name | string | Last name of the phone number subscriber |
| entity.gender | string | Gender of the subscriber |
| entity.nationality | string | Nationality code of the subscriber (e.g., NGA) |
| entity.date_of_birth | string | Date of birth of the subscriber |
| entity.msisdn | string | Full MSISDN (international format) of the phone number |
Phone Number Advance
[GET]
Query parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| phone_number * | string | A valid phone numbe | required |
Sample response
Response
Response Fields
| Field | Type | Description |
|---|---|---|
| entity | object | Contains the advanced phone number lookup response data |
| entity.first_name | string | First name of the phone number subscriber |
| entity.last_name | string | Last name of the phone number subscriber |
| entity.middle_name | string | Middle name of the phone number subscriber |
| entity.date_of_birth | string | Date of birth of the subscriber |
| entity.phone_number | string | Phone number that was looked up |
| entity.photo | string | Base64-encoded photo of the subscriber |
| entity.gender | string | Gender of the subscriber |
| entity.customer | string | Unique customer identifier (UUID) |
Test Credentials for Sandbox
phone_number =09011111111