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

# Read an application's sensitive values

GET https://api.fortresstech.io/v1/sensitive/applications/{applicationId}

The full Social Security, passport and alien registration numbers of every person on the application,
and the institution and account number of every bank account `GET /assets` returns, for document
validation that needs the whole value. Other routes return the last 4 characters at most, except
`GET /applications/{applicationId}/full` with `sensitive: read`, which returns the same values
encrypted the same way.

Every value is **encrypted for the calling partner** with the partner's own secret: AES-256-GCM, key =
SHA-256 of the secret, Base64 of `[IV 16 bytes][AuthTag 16 bytes][ciphertext]`. Decrypt each value as
shown in [Sensitive values](/ai-team-members/cora/sensitive-values). A value is `null` when Fortress has no usable value
for it. The response carries `Cache-Control: no-store`.

Join `people[]` to `/customers` by `customerId` and to `/applications/{applicationId}/minors` by
`applicantId`; join `assets[]` to `/assets` by `assetId`.

The API key must be enabled for sensitive values and Fortress must have given you your secret (`403`
otherwise).

Authenticate with the `x-api-key` header.

Reference: https://developer.fortresstech.io/api-reference/sensitive/get-application-sensitive-values

## Authentication

- `x-api-key` header (required) — API Key authentication via header

## Request

### Path parameters

- `applicationId` (string, required) — The application.

## Response

### 200

The application's sensitive values, encrypted for the partner.

- `applicationId` (string, required)
- `people` (list of SensitivePerson, required) — Every live person on the application, adults first.
- `assets` (list of SensitiveAssetAccount, required) — The bank accounts of the application's asset checklists that have an institution or an account number on file, at the positions `GET /assets` returns.

## Errors

### 401 Unauthorized Error

No `x-api-key` header: API Gateway refuses the request before it reaches Fortress (body `{"message": "Unauthorized"}`). Also: Fortress refused a key that passed the gateway.

- `any`

### 403 Forbidden Error

Either the floo gateway refused the x-api-key (unknown, or not granted `sensitive: read`; the request never reaches Fortress, so the body is API Gateway's default `Message`), or `SENSITIVE_DATA_NOT_ENABLED`: Fortress has not given the partner a secret yet.

- `GetApplicationSensitiveValuesRequestForbiddenError`
  - GetApplicationSensitiveValuesRequestForbiddenError0
  - GetApplicationSensitiveValuesRequestForbiddenError1

### 404 Not Found Error

Application not found, or not in the API key's organization or properties. The same response for both.

- `code` (enum, required)
  - Allowed values: `APPLICATION_NOT_FOUND`
- `message` (string, optional)

### 502 Bad Gateway Error

Fortress could not answer right now. Retry later.

- `any`

## Types

### SensitivePerson

- `personType` (enum, required) — `CUSTOMER` for an adult (joins to `/customers`), `MINOR` for a minor (joins to `/applications/{applicationId}/minors`).
  - Allowed values: `CUSTOMER`, `MINOR`
- `customerId` (string, required, nullable) — The customer id; `null` for a minor.
- `applicantId` (string, required) — The applicant record; for a minor, the `minorId` of `/applications/{applicationId}/minors`.
- `socialSecurityNumber` (string, required, nullable) — The full Social Security number, encrypted for the partner.
- `passportNumber` (string, required, nullable) — The full passport number, encrypted for the partner. Always `null` for a minor.
- `alienRegistrationNumber` (string, required, nullable) — The full alien registration number, encrypted for the partner.

### SensitiveAssetAccount

- `assetId` (string, required) — The id `GET /assets` returns for the same account.
- `applicantId` (string, required)
- `certificationId` (string, required, nullable) — The certification the account was reported on; `null` before the application had one.
- `institution` (string, required, nullable) — The bank or institution name, encrypted for the partner.
- `accountNumber` (string, required, nullable) — The full account number, encrypted for the partner.

### GetApplicationSensitiveValuesRequestForbiddenError0

- `code` (enum, required)
  - Allowed values: `SENSITIVE_DATA_NOT_ENABLED`
- `message` (string, optional)

### GetApplicationSensitiveValuesRequestForbiddenError1

- `Message` (string, required)

## Examples

**Response**

```json
{
  "applicationId": "9d8c7b6a-5e4f-4d3c-9b2a-1e0f9d8c7b6a",
  "people": [
    {
      "personType": "CUSTOMER",
      "customerId": "1c2d3e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
      "applicantId": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f60",
      "socialSecurityNumber": "<encrypted>",
      "passportNumber": null,
      "alienRegistrationNumber": null
    },
    {
      "personType": "MINOR",
      "customerId": null,
      "applicantId": "3e4f5a6b-7c8d-4e9f-8a1b-2c3d4e5f6071",
      "socialSecurityNumber": "<encrypted>",
      "passportNumber": null,
      "alienRegistrationNumber": null
    }
  ],
  "assets": [
    {
      "assetId": "7a23d5ff-f02b-3498-8a6d-f1f8397311f8",
      "applicantId": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f60",
      "certificationId": "4f5a6b7c-8d9e-4f0a-9b2c-3d4e5f607182",
      "institution": "<encrypted>",
      "accountNumber": "<encrypted>"
    }
  ]
}
```

**SDK Code**

```python sensitive_getApplicationSensitiveValues_example
import requests

url = "https://api.fortresstech.io/v1/sensitive/applications/applicationId"

headers = {"x-api-key": "<apiKey>"}

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

print(response.json())
```

```javascript sensitive_getApplicationSensitiveValues_example
const url = 'https://api.fortresstech.io/v1/sensitive/applications/applicationId';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

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

```go sensitive_getApplicationSensitiveValues_example
package main

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

func main() {

	url := "https://api.fortresstech.io/v1/sensitive/applications/applicationId"

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

	req.Header.Add("x-api-key", "<apiKey>")

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

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

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

}
```

```ruby sensitive_getApplicationSensitiveValues_example
require 'uri'
require 'net/http'

url = URI("https://api.fortresstech.io/v1/sensitive/applications/applicationId")

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

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

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

```java sensitive_getApplicationSensitiveValues_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.fortresstech.io/v1/sensitive/applications/applicationId")
  .header("x-api-key", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.fortresstech.io/v1/sensitive/applications/applicationId', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp sensitive_getApplicationSensitiveValues_example
using RestSharp;

var client = new RestClient("https://api.fortresstech.io/v1/sensitive/applications/applicationId");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift sensitive_getApplicationSensitiveValues_example
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.fortresstech.io/v1/sensitive/applications/applicationId")! 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()
```