# Phone

Phone number lookup is essential for validating the authenticity of phone numbers, ensuring the integrity of user interactions, and complying with regulatory standards. By confirming the legitimacy of phone numbers, this process safeguards against fraudulent activities, enhances data security.

## phone\_lookup

<mark style="color:green;">`POST`</mark> `https://secctrl.tutelar.io/api/v1/services/business_profile/phone_lookup`

### Post parameters description is given below,

<table><thead><tr><th>Body</th><th width="148">Type</th><th>Mandatory</th><th>Description</th></tr></thead><tbody><tr><td>phone_number</td><td>String</td><td>Yes</td><td>phone number</td></tr></tbody></table>

#### Sample Request Body

```json
{
  "country_code": "+91",
  "phone_number": "8428416911"
}
```

{% tabs %}
{% tab title="200: Success Response" %}

```json
{
  "success": true,
  "code": 200,
  "message": "Lookup details fetched successfully.",
  "status": "completed",
  "reference_id": "e555279d-a1e1-4a4a-9a42-6b46bf4820ee",
  "result": {
    "value": "918428416911",
    "type": "mobile",
    "status": "connected",
    "is_valid": true,
    "is_suspicious_format": false,
    "is_valid_format": true,
    "country_code": "IN",
    "is_ported": true,
    "original_network": "Vodafone - Tamil Nadu",
    "current_network": "JIO - Tamil Nadu",
    "has_whatsapp": true,
    "whatsapp_privacy_status": "private",
    "score": 676,
    "score_cluster": "high",
    "first_ported": "2021-02-17",
    "last_ported": "2021-02-17",
    "ported_times": 1,
    "number_type": "FIXED_LINE_OR_MOBILE",
    "has_flipkart": false,
    "has_telegram": false,
    "has_instagram": false,
    "has_amazon": true,
    "has_google": true,
    "has_office365": true,
    "has_facebook": true,
    "data_breaches_count": 0,
    "has_linkedin": false,
    "has_twitter": true,
    "has_skype": false,
    "phone_partials_count": 0,
    "email_partials_count": 0
  },
  "requested_at": "2023-09-20T13:33:08.174Z",
  "completed_at": "2023-09-20T13:33:09.459Z"
}
```

{% endtab %}

{% tab title="400: Validation Error Response" %}

```json
{
    "success": false,
    "code": 400,
    "message": "Invalid input. Please check your request and try again.",
    "error": {
        "message": "Invalid phone number",
        "field": "phone_number",
        "code": "BAD_REQUEST"
    }
}
```

{% endtab %}

{% tab title="200: Failure Response" %}

```json
{
    "success": true,
    "code": 200,
    "message": "The request could not be completed due to an error.",
    "reference_id": "8e22a730-b2dc-45b8-8532-91c076ca432c",
    "status": "failed",
    "error": {
        "message": "Phone lookup not found or invalid. Please review the phone number information for accuracy.",
        "code": "ERROR"
    },
    "requested_at": "2024-03-14T11:13:58.757Z",
    "completed_at": "2024-03-14T11:13:58.969Z"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tutelar.io/tutelar-api-document/business-profile/lookups/phone.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
