> ## Documentation Index
> Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Phone Number Advanced

> Retrieve full NIN profile data linked to any phone number registered against an identity.

The Phone Number Advanced endpoint returns a full NIN identity profile associated with a given phone number, including numbers beyond the primary registration. Use this when you need to verify additional phone numbers linked to a customer's NIN.

<Note>
  For the primary phone number registered to an NIN, use [Phone Number Basic](/v3/kyc/nigeria/phone_number_basic) — it is faster and returns core identity fields.
</Note>

## Endpoint

```
POST /api/onboarding/nigeria_kyc/phone_no_advanced/
```

## Request

### Headers

| Header           | Value               | Required |
| ---------------- | ------------------- | -------- |
| `x-access-token` | Your API secret key | Yes      |
| `Content-Type`   | `application/json`  | Yes      |

### Body Parameters

| Parameter      | Type   | Required | Description                                                        |
| -------------- | ------ | -------- | ------------------------------------------------------------------ |
| `phone_number` | string | Yes      | The customer's phone number (Nigerian format, e.g., `09011001100`) |

### Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/phone_no_advanced/" \
    -H "x-access-token: YOUR_SECRET_KEY" \
    -H "Content-Type: application/json" \
    -d '{"phone_number": "09011001100"}'
  ```

  ```python Python theme={null}
  import requests
  response = requests.post(
      "https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/phone_no_advanced/",
      headers={"x-access-token": "YOUR_SECRET_KEY", "Content-Type": "application/json"},
      json={"phone_number": "09011001100"},
  )
  ```
</CodeGroup>

## Response

### 200 OK

| Field                    | Type   | Description                    |
| ------------------------ | ------ | ------------------------------ |
| `data.nin`               | string | NIN linked to the phone number |
| `data.surname`           | string | Last name                      |
| `data.firstname`         | string | First name                     |
| `data.middlename`        | string | Middle name                    |
| `data.gender`            | string | Gender (`"M"` or `"F"`)        |
| `data.birthdate`         | string | Date of birth                  |
| `data.telephoneno`       | string | Phone number                   |
| `data.residence_address` | string | Residential address            |
| `data.residence_state`   | string | State of residence             |
| `data.residence_lga`     | string | LGA of residence               |

```json theme={null}
{
  "status": "success",
  "data": {
    "nin": "384748493020",
    "surname": "JOHN",
    "firstname": "DOE",
    "middlename": "MID",
    "gender": "F",
    "birthdate": "1 JAN 2000",
    "telephoneno": "09011001100",
    "residence_address": "",
    "residence_state": "",
    "residence_lga": ""
  },
  "message": "Phone Number details retrieved successfully"
}
```

### 400 Bad Request

```json theme={null}
{
  "status": "failed",
  "data": [],
  "message": "Sorry, your check cannot be processed at the moment. Please try again in a few minutes"
}
```

### 401 Unauthorized

```json theme={null}
{
  "status": "failed",
  "message": "Authentication credentials were not provided."
}
```


## OpenAPI

````yaml POST /api/onboarding/nigeria_kyc/phone_no_advanced/
openapi: 3.0.3
info:
  title: Adhere API
  description: >-
    Identity verification, credit checks, transaction monitoring, and loan fraud
    detection across Africa.
  version: 3.0.0
servers:
  - url: https://adhere-api.smartcomply.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Nigeria KYC
  - name: Kenya KYC
  - name: Ghana KYC
  - name: Rwanda KYC
  - name: Uganda KYC
  - name: Biometrics
  - name: Individual Credit
  - name: Business Credit
  - name: Transaction Monitoring
  - name: Transaction Screening
  - name: Transaction KYC
  - name: Loan Fraud
  - name: User Journey
paths:
  /api/onboarding/nigeria_kyc/phone_no_advanced/:
    post:
      tags:
        - Nigeria KYC
      summary: Phone Number Advanced
      operationId: phoneAdvanced
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - phone_number
              properties:
                phone_number:
                  type: string
                  example: '08012345678'
      responses:
        '200':
          description: Phone advanced data retrieved
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: failed
              data:
                type: array
                items: {}
              message:
                type: string
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: failed
              message:
                type: string
                example: Authentication credentials were not provided.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-token
      description: Your Adhere API secret key

````