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

# Lookup Uganda Telco Subscriber

> Verify a Ugandan mobile phone subscriber's registered name against the telco database.

<div className="dj-endpoint">
  <span className={`dj-method dj-method-post`}>POST</span>
  <code>/api/v1/ug/kyc/telco</code>
</div>

Verify a Ugandan mobile subscriber’s registered name against the telco’s records.

## Headers

| Header          | Required | Description                                         |
| --------------- | -------- | --------------------------------------------------- |
| `Authorization` | Yes      | Your app's secret key, sent as-is — *not* `Bearer`. |
| `AppId`         | Yes      | The App ID from your dashboard.                     |
| `Content-Type`  | Yes      | `application/json`                                  |

## Body parameters

| Parameter      | Type   | Required | Description                         |
| -------------- | ------ | -------- | ----------------------------------- |
| `first_name`   | string | Yes      | First name of the subscriber.       |
| `last_name`    | string | Yes      | Last name of the subscriber.        |
| `phone_number` | string | Yes      | The phone number of the subscriber. |

## Response

Returns an `entity` object with the verified subscriber name and a percentage name-match.

## Errors

| Code  | Meaning                                                                                       |
| ----- | --------------------------------------------------------------------------------------------- |
| `400` | Bad request — a required parameter is missing or malformed.                                   |
| `401` | Unauthorized — check your key and `AppId` (no `Bearer` prefix).                               |
| `402` | Insufficient wallet balance. [Fund your wallet](/api-reference/core-concepts/wallet-billing). |
| `404` | No record found for the supplied identifier.                                                  |
| `424` | The upstream source was unavailable — retry shortly.                                          |
| `429` | Too many requests — back off and retry.                                                       |

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.dojah.io/api/v1/ug/kyc/telco" \
    -H "Authorization: {{secret_key}}" \
    -H "AppId: {{app_id}}" \
    -H "Content-Type: application/json" \
    -d '{
      "first_name": "John",
      "last_name": "Musa",
      "phone_number": "+25612345678"
    }'
  ```

  ```js Node.js theme={null}
  const res = await fetch("https://api.dojah.io/api/v1/ug/kyc/telco", {
    method: "POST",
    headers: {
      Authorization: process.env.DOJAH_SECRET_KEY,
      AppId: process.env.DOJAH_APP_ID,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      first_name: "John",
      last_name: "Musa",
      phone_number: "+25612345678",
    }),
  });
  const data = await res.json();
  ```

  ```python Python theme={null}
  import os, requests

  res = requests.post(
      "https://api.dojah.io/api/v1/ug/kyc/telco",
      headers={
          "Authorization": os.environ["DOJAH_SECRET_KEY"],
          "AppId": os.environ["DOJAH_APP_ID"],
      },
      json={
          "first_name": "John",
          "last_name": "Musa",
          "phone_number": "+25612345678",
      },
  )
  data = res.json()
  ```
</RequestExample>

<ResponseExample>
  ```json POST /api/v1/ug/kyc/telco theme={null}
  {
    "entity": {
      "first_name": "John",
      "last_name": "Musa",
      "name_check_error": null,
      "network_name": "",
      "percentage_name_match": 100,
      "phone_is_mm_registered": false,
      "phone_number": "+25612345678",
      "verified_name": "John Doe Musa"
    }
  }
  ```
</ResponseExample>
