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

# Get session result

GET https://api.withverifa.com/api/v1/sessions/{session_id}/result

Returns the verification result for a completed session, including
biometric scores and extracted document data.

If the organization's sensitive data window has elapsed, PII fields will
be empty and `sensitive_data_expired` will be `true`.


Reference: https://docs.withverifa.com/api-reference/sessions/get-session-result

## Authentication

- `X-API-Key` header (required) — Organization API key. Keys are prefixed with `vk_live_` (production) or `vk_sandbox_` (sandbox).

## Request

### Path parameters

- `session_id` (string, required) — Session ID (`ses_*`).

### Headers

- `Verifa-Version` (date, optional) — API version date string (e.g. `2026-02-01`). If omitted, the version pinned to your API key is used.
- `Key-Inflection` (enum, optional, default: snake) — Response key casing. Defaults to `snake`.
  - Allowed values: `camel`, `kebab`, `snake`

## Response

### 200

Verification result.

- `session_id` (string, required)
- `status` (enum, required)
  - Allowed values: `needs_review`, `approved`, `rejected`, `escalated`, `pending_second_review`
- `is_sandbox` (boolean, required)
- `created_at` (datetime, required)
- `face_match_passed` (boolean, optional, nullable)
- `face_match_score` (double, optional, nullable) — Similarity score between 0 and 1.
- `age_check_passed` (boolean, optional, nullable)
- `extracted_age` (integer, optional, nullable)
- `extracted_data` (ExtractedData, optional) — PII extracted from the identity document. Fields returned depend on your organization's `api_pii_fields` configuration.
- `rejection_reason` (string, optional, nullable)
- `rejection_reason_code` (enum, optional) — Structured reason a verification was rejected. Complements the free-text `rejection_reason`. Stable enum — clients can pivot UI and metrics off this without parsing prose.
  - Allowed values: `document_unreadable`, `document_expired`, `document_unsupported`, `document_authenticity`, `face_mismatch`, `liveness_failed`, `age_under_threshold`, `aml_hit`, `duplicate_identity`, `blocklist_match`, `geo_blocked`, `identity_blocked`, `poa_failed`, `poa_review`, `nfc_failed`, `consistency_failed`, `manual_reject`, `other`
- `processing_mode` (enum, optional)
  - Allowed values: `auto`, `manual`
- `country_used` (string, optional, nullable) — ISO 3166-1 alpha-2 country code used for verification.
- `sensitive_data_expired` (boolean, optional) — `true` if the organization's sensitive data window has elapsed. When true, `extracted_data` will be empty.

## Errors

### 401 Unauthorized Error

Missing or invalid API key.

- `error` (string, required) — Short error code.
- `status_code` (integer, required) — HTTP status code.
- `detail` (string, optional) — Human-readable error description.

### 404 Not Found Error

Resource not found.

- `error` (string, required) — Short error code.
- `status_code` (integer, required) — HTTP status code.
- `detail` (string, optional) — Human-readable error description.

## Types

### ExtractedData

PII extracted from the identity document. Fields returned depend on your organization's `api_pii_fields` configuration.

- `first_name` (string, optional, nullable)
- `last_name` (string, optional, nullable)
- `date_of_birth` (string, optional, nullable) — ISO 8601 date (YYYY-MM-DD).
- `address` (Address, optional)
- `document_number` (string, optional, nullable)
- `nationality` (string, optional, nullable)
- `gender` (string, optional, nullable)
- `ssn` (string, optional, nullable) — Social Security Number (US only).
- `document_type` (string, optional, nullable) — Type of document (e.g. drivers_license, passport, state_id).
- `document_expiration_date` (string, optional, nullable) — ISO 8601 date (YYYY-MM-DD).
- `document_issuing_state` (string, optional, nullable) — Issuing state or jurisdiction code.

### Address

- `line1` (string, optional, nullable)
- `line2` (string, optional, nullable)
- `city` (string, optional, nullable)
- `state` (string, optional, nullable)
- `zip` (string, optional, nullable)

## Examples

**Response**

```json
{
  "session_id": "ses_abc123",
  "status": "needs_review",
  "is_sandbox": true,
  "created_at": "2024-01-15T09:30:00Z",
  "face_match_passed": true,
  "face_match_score": 1.1,
  "age_check_passed": true,
  "extracted_age": 1,
  "extracted_data": {
    "first_name": "string",
    "last_name": "string",
    "date_of_birth": "string",
    "address": {
      "line1": "string",
      "line2": "string",
      "city": "string",
      "state": "string",
      "zip": "string"
    },
    "document_number": "string",
    "nationality": "string",
    "gender": "string",
    "ssn": "string",
    "document_type": "string",
    "document_expiration_date": "string",
    "document_issuing_state": "string"
  },
  "rejection_reason": "string",
  "rejection_reason_code": "document_unreadable",
  "processing_mode": "auto",
  "country_used": "string",
  "sensitive_data_expired": true
}
```

**SDK Code**

```python
import requests

url = "https://api.withverifa.com/api/v1/sessions/session_id/result"

headers = {"X-API-Key": "<apiKey>"}

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

print(response.json())
```

```javascript
const url = 'https://api.withverifa.com/api/v1/sessions/session_id/result';
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
package main

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

func main() {

	url := "https://api.withverifa.com/api/v1/sessions/session_id/result"

	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
require 'uri'
require 'net/http'

url = URI("https://api.withverifa.com/api/v1/sessions/session_id/result")

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
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.withverifa.com/api/v1/sessions/session_id/result")
  .header("X-API-Key", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.withverifa.com/api/v1/sessions/session_id/result', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.withverifa.com/api/v1/sessions/session_id/result");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.withverifa.com/api/v1/sessions/session_id/result")! 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()
```