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

# Customer profile

GET https://clients.infonite.tech/api/executions/results/{execution_id}/customer/v1/profile

Your customer's identity, as the source knows it.

Names, identification documents, birth and nationality, contact details and declared situation — read from the institution rather than from a form somebody filled in. It is the natural cross-check against what your customer typed during onboarding, and the one field set that almost every engine produces.

**One profile describes a person or a company.** `type` says which, and the fields that only make sense for one of them say so individually — `name_extra` and `number_of_children` come empty for a company, `gender` and `civil_status` come as `unknown`. Field by field in [Customer Profile](/guides/data-models/customer-profile).

Features are chosen when the execution **starts**, not here. An execution that did not ask for `customer_information_read` answers `204`, and the only way to get the data is to run another one.

| Status | Meaning                                                                                                                                  |
| :----- | :--------------------------------------------------------------------------------------------------------------------------------------- |
| `200`  | The profile.                                                                                                                             |
| `202`  | `feature_not_ready` — `customer_information_read` is still running. **Only this family waits**: the ones that already closed answer now. |
| `204`  | The execution never asked for `customer_information_read`, or it did and the source had nothing to give. No body either way.             |
| `404`  | No execution with that id for your application, or it has been deleted.                                                                  |

**Server to server only.** This call is authorised with your application secret: it belongs in your backend, never in a browser, a mobile app or anything your customer can read.

Reference: https://infonite.dev/api-reference/direct-executions/direct-executions-api/fetching-the-results/customer-data/direct-executions-v-1-results-customer-profile

## Authentication

- `X-APP-SECRET` header (required) — Application Secret

## Servers

- `https://clients.infonite.tech/api` (Legacy Server, default)
- `https://clients.infonite.io/api` (Production Server)

## Request

### Path parameters

- `execution_id` (string, required) — The execution, as the acceptance response returned it.

## Response

### 200

**200 OK**Your customer as the institution knows them: names, identification documents, birth and nationality, contact details and declared situation. `type` says whether you are reading a person or a company.

- `product` ("customer_information", required) — The product type identifier. Always `customer_information` for this product.
- `sub_family` ("customer_information:user_profile", required) — The sub-family identifier: `customer_information:user_profile`, the customer's profile at the institution.
- `fetch_date` (string, required) — Date this information was fetched.
- `type` (enum, required) — The kind of customer: a person or a company. This is the switch that tells you how to read the rest of the profile.
  - Allowed values: `person`, `company`, `unknown`
- `identification_numbers` (list of object, required) — The customer's identification documents as the institution registers them — for persons a DNI/NIE, passport or Social Security number; for companies the tax ID (CIF). Each entry carries its type, its value, and whether the value passed validation.
  - `type` (enum, required) — Kind of document the number belongs to (e.g. a national ID, passport, tax ID, or Social Security number).
    - Allowed values: `unknown`, `es:dni`, `es:nie`, `es:cif`, `es:ssn`, `co:cc`, `co:ce`, `co:nit`, `co:ti`
  - `value` (string, required) — The number itself, as reported by the source.
  - `validated` (boolean, required) — True when the value passed the platform's format and check-digit validation. It vouches for the NUMBER being well-formed — not for the official status of the document behind it.
  - `country` (string, optional, nullable) — Country that issued the number, as a two-letter ISO code.
  - `valid_until` (date, optional) — Expiry date of the document, when the source reports it.
- `gender` (enum, required) — **Persons only** — gender as declared at the institution. `unknown` for companies, and for persons whose source does not disclose it.
  - Allowed values: `male`, `female`, `rather_not_say`, `unknown`
- `civil_status` (enum, required) — **Persons only** — civil status as declared at the institution. `unknown` for companies, and for persons whose source does not disclose it.
  - Allowed values: `single`, `married`, `divorced`, `widowed`, `separated`, `unknown`
- `emails` (list of string, required) — Email addresses of the customer, as they appear at the source.
- `phones` (list of string, required) — Phone numbers of the customer, as they appear at the source.
- `addresses` (list of object, required) — Postal addresses of the customer, as they appear at the source.
  - `title` (string, optional, nullable) — Free label for the address (e.g. `Headquarter`, `Domicilio`).
  - `street` (string, optional, nullable) — Street line: name and number.
  - `street_extra` (string, optional, nullable) — Second street line: floor, suite, staircase, apartment...
  - `municipality` (string, optional, nullable) — Municipality the address belongs to.
  - `city` (string, optional, nullable) — City or town.
  - `state` (string, optional, nullable) — State or province code.
  - `country` (string, optional, nullable) — Country, as a two-letter ISO code.
  - `zip_code` (string, optional, nullable) — Postal code.
- `name` (string, optional) — For persons, the given name(s); for companies, the registered legal name (razón social).
- `name_extra` (string, optional) — **Persons only** — the rest of the legal name; Spanish institutions report both surnames here. Empty for companies.
- `alias` (string, optional) — How the institution addresses the customer when it differs from the legal name — a chosen or commercial name.
- `birth_date` (date, optional) — For persons, the date of birth; for companies, the date of incorporation, when the source provides it.
- `birth_country` (string, optional) — Country of birth, as a two-letter ISO code.
- `nationality_country` (string, optional) — For persons, the country of nationality; for companies, the country of the registered seat. Two-letter ISO code.
- `residence_country` (string, optional) — For persons, the country of residence; for companies, the country of its tax residence. Two-letter ISO code.
- `number_of_children` (integer, optional) — **Persons only** — number of children, when the institution records it. Empty for companies.
- `language` (string, optional) — The customer's preferred language, as an ISO language code.
- `member_since` (date, optional) — Date the customer's relationship with the institution began, when the source reports it.

### 202

**202 Accepted**`feature_not_ready`: `customer_information_read` is still running. **You do not have to wait for the whole execution** — every family answers as soon as its own feature closes, so a slow source does not hold up the ones that already finished.

- `detail` (string, required) — Error message

## Errors

### 404 Not Found Error

**404 Not Found**No execution with that id for your application, or it has been deleted.

- `detail` (string, required) — Error message

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of object, optional)
  - `loc` (list of string or integer, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any, optional)
  - `ctx` (object, optional)

## Examples

### A person, as a bank knows them

**Response**

```json
{
  "product": "customer_information",
  "sub_family": "customer_information:user_profile",
  "fetch_date": "2026-09-12T01:48:52+00:00",
  "type": "person",
  "identification_numbers": [
    {
      "type": "es:dni",
      "value": "85253469J",
      "validated": true,
      "country": "ES"
    }
  ],
  "gender": "male",
  "civil_status": "married",
  "emails": [
    "customer@example.com"
  ],
  "phones": [
    "+34 822 197 266",
    "+34 803 23 42 27"
  ],
  "addresses": [
    {
      "title": "Domicilio",
      "street": "Calle de David Gilabert, 826",
      "street_extra": "Piso 7",
      "municipality": "Getafe",
      "city": "El Bercial",
      "state": "Madrid",
      "country": "ES",
      "zip_code": "28907"
    }
  ],
  "name": "MOISÉS",
  "name_extra": "ÁGUILA BARRANCO",
  "alias": "Marciano",
  "birth_date": "2004-08-12",
  "birth_country": "ES",
  "nationality_country": "ES",
  "residence_country": "ES",
  "number_of_children": 2,
  "member_since": "2017-10-08"
}
```

**SDK Code**

```python A person, as a bank knows them
import requests

url = "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile"

headers = {"X-APP-SECRET": "<apiKey>"}

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

print(response.json())
```

```javascript A person, as a bank knows them
const url = 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile';
const options = {method: 'GET', headers: {'X-APP-SECRET': '<apiKey>'}};

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

```go A person, as a bank knows them
package main

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

func main() {

	url := "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile"

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

	req.Header.Add("X-APP-SECRET", "<apiKey>")

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

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

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

}
```

```ruby A person, as a bank knows them
require 'uri'
require 'net/http'

url = URI("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile")

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

request = Net::HTTP::Get.new(url)
request["X-APP-SECRET"] = '<apiKey>'

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

```java A person, as a bank knows them
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile")
  .header("X-APP-SECRET", "<apiKey>")
  .asString();
```

```php A person, as a bank knows them
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile', [
  'headers' => [
    'X-APP-SECRET' => '<apiKey>',
  ],
]);

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

```csharp A person, as a bank knows them
using RestSharp;

var client = new RestClient("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile");
var request = new RestRequest(Method.GET);
request.AddHeader("X-APP-SECRET", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift A person, as a bank knows them
import Foundation

let headers = ["X-APP-SECRET": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile")! 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()
```

### This family has not finished

**Response**

```json
{
  "detail": "feature_not_ready"
}
```

**SDK Code**

```python This family has not finished
import requests

url = "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile"

headers = {"X-APP-SECRET": "<apiKey>"}

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

print(response.json())
```

```javascript This family has not finished
const url = 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile';
const options = {method: 'GET', headers: {'X-APP-SECRET': '<apiKey>'}};

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

```go This family has not finished
package main

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

func main() {

	url := "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile"

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

	req.Header.Add("X-APP-SECRET", "<apiKey>")

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

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

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

}
```

```ruby This family has not finished
require 'uri'
require 'net/http'

url = URI("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile")

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

request = Net::HTTP::Get.new(url)
request["X-APP-SECRET"] = '<apiKey>'

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

```java This family has not finished
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile")
  .header("X-APP-SECRET", "<apiKey>")
  .asString();
```

```php This family has not finished
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile', [
  'headers' => [
    'X-APP-SECRET' => '<apiKey>',
  ],
]);

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

```csharp This family has not finished
using RestSharp;

var client = new RestClient("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile");
var request = new RestRequest(Method.GET);
request.AddHeader("X-APP-SECRET", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift This family has not finished
import Foundation

let headers = ["X-APP-SECRET": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/customer/v1/profile")! 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()
```