> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vlenseg.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vlenseg.com/_mcp/server.

# Check PII for a phone number

GET https://api.vlenseg.com/api/FRAServices/CheckPiiForUser

Looks up the stored verification status for a given phone number. Returns the same response shape as `GET /api/FRAServices/CheckUserStatus`.

Reference: https://docs.vlenseg.com/api-reference/vlens-api/fra-services/get-fraservices-checkpiiforuser

## Authentication

- `ApiKey` header (required) — Static API key issued to your tenant. Required on every request.
- `Authorization` header (bearer token, required) — End-user JWT from registration or login. Required for verification, signing, and user-scoped operations.

## Servers

- `https://api.vlenseg.com` (Production, default)
- `https://api.vlens.co` (Staging)

## Request

### Query parameters

- `phoneNumber` (string, optional)

## Response

### 200

- `data` (object, required)
  - `isDigitalIdentityVerified` (boolean, required)
  - `isEmailConfirmed` (boolean, required)
  - `csoOutput` (object, required)
    - `isValid` (boolean, required)
    - `errorCode` (integer, required)
    - `errorMessage` (string, required)
  - `phoneNumberOwnerOutput` (object, required)
    - `isMatched` (boolean, required)
    - `errorCode` (integer, required)
    - `errorKey` (string, required)
    - `errorMessage` (string, required)
  - `isVerified` (boolean, required)
  - `status` (integer, required)
- `error_code` (integer, required, nullable)
- `error_message` (string, required)

## Examples

**Response**

```json
{
  "data": {
    "isDigitalIdentityVerified": true,
    "isEmailConfirmed": true,
    "csoOutput": {
      "isValid": true,
      "errorCode": 0,
      "errorMessage": "<string>"
    },
    "phoneNumberOwnerOutput": {
      "isMatched": true,
      "errorCode": 0,
      "errorKey": "<string>",
      "errorMessage": "<string>"
    },
    "isVerified": true,
    "status": 1
  },
  "error_code": null,
  "error_message": "<string>"
}
```

**SDK Code**

```python FRA Services_getFraservicesCheckpiiforuser_example
import requests

url = "https://api.vlenseg.com/api/FRAServices/CheckPiiForUser"

headers = {"ApiKey": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript FRA Services_getFraservicesCheckpiiforuser_example
const url = 'https://api.vlenseg.com/api/FRAServices/CheckPiiForUser';
const options = {method: 'GET', headers: {ApiKey: '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go FRA Services_getFraservicesCheckpiiforuser_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.vlenseg.com/api/FRAServices/CheckPiiForUser"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("ApiKey", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby FRA Services_getFraservicesCheckpiiforuser_example
require 'uri'
require 'net/http'

url = URI("https://api.vlenseg.com/api/FRAServices/CheckPiiForUser")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["ApiKey"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java FRA Services_getFraservicesCheckpiiforuser_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.vlenseg.com/api/FRAServices/CheckPiiForUser")
  .header("ApiKey", "<apiKey>")
  .asString();
```

```php FRA Services_getFraservicesCheckpiiforuser_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.vlenseg.com/api/FRAServices/CheckPiiForUser', [
  'headers' => [
    'ApiKey' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp FRA Services_getFraservicesCheckpiiforuser_example
using RestSharp;

var client = new RestClient("https://api.vlenseg.com/api/FRAServices/CheckPiiForUser");
var request = new RestRequest(Method.GET);
request.AddHeader("ApiKey", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift FRA Services_getFraservicesCheckpiiforuser_example
import Foundation

let headers = ["ApiKey": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.vlenseg.com/api/FRAServices/CheckPiiForUser")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```