> Toden documentation. For the full index fetch /llms.txt. Every page is available as Markdown by appending .md to its URL. Every endpoint is under /api/v1. Identity verification and Risk Intelligence are separate contracts there with different error shapes; /api/kyc and /api/identity are older prefixes that still answer the same. Never invent an endpoint, field or enum value: read the API reference page for the operation first.

# Retrieve a screening check

GET https://sandbox-api.toden.co/api/v1/checks/screening/{id}

Returns one screening check with every match it found.

**Error codes**

| `error` | Status | Meaning |
|---|---|---|
| `not_found` | 404 | No screening check with that id, or it was deleted. |
| `secret_key_required` | 403 | A publishable key was used. This endpoint accepts secret keys only. |
| `environment_mismatch` | 403 | The key belongs to an environment this deployment does not serve. |
| `ip_not_allowed` | 403 | The key has an IP allowlist and the calling address is not on it. |
| `organization_suspended` | 403 | The organisation is suspended. The response carries `reason` and `suspendedAt`. |
| `business_not_approved` | 403 | A live key was used before the business was approved for production. |

A missing or unknown key answers `401`, where `error` is a short sentence rather than a code.

Requires a secret (`sk_`) key. A publishable key receives `403 secret_key_required`.

Reference: https://docs.toden.co/api-reference/verification/screening-checks/get-screening-check

## Authentication

- `Authorization` header (bearer token, required) — Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set `flow.run`, `flow.config.read` and `verifications.status.read`; a scoped secret key reaches what its scopes allow.

## Servers

- `https://sandbox-api.toden.co` (Sandbox, default)
- `https://api.toden.co` (Production)

## Request

### Path parameters

- `id` (string, required) — The screening check id, as returned by the run (`scc_…`).

## Response

### 200

The screening check.

- `id` (string, required) — The screening check id.
- `status` (enum, required) — `running` only while the check is being screened, then the result.
  - Allowed values: `running`, `clear`, `potential_match`, `incomplete`
- `subject` (ScreeningCheckSubject, required)
- `lists` (list of ScreeningCheckListResult, required) — One entry per list screened, in the order sanctions, PEP, adverse media.
- `matchCount` (integer, required) — Matches found across every list.
- `channel` (enum, required) — Whether the check was run through the API or from the dashboard.
  - Allowed values: `api`, `dashboard`
- `createdAt` (datetime, required) — When the check was run.
- `review` (ScreeningCheckReview, optional) — Where the decisions on this check's matches stand.
- `charged` (string, optional, nullable) — What the check cost in USD, as a decimal string. Null for test checks, or when no list could be checked.
- `entityId` (string, optional, nullable) — The customer record the subject was saved to, or screened from, in the dashboard.
- `verificationId` (string, optional, nullable) — The identity or business check (or verification) this screening was run for. Null for a check run on its own.
- `completedAt` (datetime, optional, nullable) — When screening finished.
- `replayed` (boolean, optional) — On a run only: true when this is a check already run under the same `requestId`.
- `monitored` (boolean, optional) — On a run only: true when this request enrolled the saved customer in ongoing screening. False when monitoring was not asked, the subject was not saved, or your organisation has screening switched off.

## Errors

### 401 Unauthorized Error

The Authorization header is missing, or the API key is unknown or revoked.

- `error` (string, required) — A stable machine-readable code such as `invalid_input`. Authentication failures (401) carry a short sentence here instead of a code.
- `message` (string, optional) — A human-readable explanation, safe to log. The wording may change.

### 403 Forbidden Error

The key may not call this endpoint, or the organisation may not use this feature.

- `error` (string, required) — A stable machine-readable code such as `invalid_input`. Authentication failures (401) carry a short sentence here instead of a code.
- `message` (string, optional) — A human-readable explanation, safe to log. The wording may change.

### 404 Not Found Error

The resource does not exist for this organisation and environment.

- `error` (string, required) — A stable machine-readable code such as `invalid_input`. Authentication failures (401) carry a short sentence here instead of a code.
- `message` (string, optional) — A human-readable explanation, safe to log. The wording may change.

## Types

### ScreeningCheckSubject

- `type` (enum, required) — Whether a person or a business was screened.
  - Allowed values: `individual`, `business`
- `name` (string, required) — The name screened.
- `dateOfBirth` (string, optional, nullable) — The date of birth sent for a person, `YYYY-MM-DD`.
- `country` (string, optional, nullable) — Nationality for a person, country of registration for a business (ISO 3166-1 alpha-2).
- `registrationNumber` (string, optional, nullable) — The registration number sent for a business.
- `documentNumber` (string, optional, nullable) — The ID or passport number sent for a person.

### ScreeningCheckListResult

- `list` (enum, required) — The list screened.
  - Allowed values: `sanctions`, `pep`, `adverse_media`
- `status` (enum, required) — `unavailable` when this list could not be checked; it was not charged.
  - Allowed values: `clear`, `potential_match`, `unavailable`
- `matchCount` (integer, required) — Matches found on this list.
- `matches` (list of ScreeningCheckMatch, required) — Up to 25 matches, strongest first.
- `topScore` (integer, optional, nullable) — The strongest match score, 0 to 100.

### ScreeningCheckReview

Where the decisions on this check's matches stand.

- `state` (enum, required) — `none`: no matches. `pending`: a match is undecided. `confirmed`: a match is confirmed. `cleared`: every match is a false positive.
  - Allowed values: `none`, `pending`, `confirmed`, `cleared`
- `reviewed` (integer, required) — Matches decided.
- `total` (integer, required) — Matches found.

### ScreeningCheckMatch

- `key` (string, optional) — Names this match when you decide on it: the source's record id, or its place on the list.
- `id` (string, optional, nullable) — The source's id for the record, the same across screenings.
- `review` (ScreeningMatchReview, optional, nullable) — A decision on a match. Null until someone decides.
- `name` (string, optional, nullable) — The listed name.
- `score` (integer, optional, nullable) — How closely the listing matches what was sent, 0 to 100.
- `source` (string, optional, nullable) — The list the record came from, for example `us_ofac_sdn`.
- `sourceUrl` (string, optional, nullable) — A link to the source record.
- `programmes` (list of string, optional) — The sanctions programmes or reasons the record is listed under.
- `aliases` (list of string, optional) — Other names the record is known by.
- `birthDates` (list of string, optional) — Dates of birth on the record.
- `nationalities` (list of string, optional) — Nationalities or countries on the record.
- `matchedFields` (list of string, optional) — Which of the details sent matched the record.
- `kind` (enum, optional) — Whether the record is a person or an organisation, when the source says.
  - Allowed values: `person`, `organisation`
- `datasets` (list of string, optional) — Every list the record is on, by dataset name, for example `us_ofac_sdn` or `wd_peps`.
- `topics` (list of string, optional) — Risk topics on the record, for example `sanction`, `role.pep`, `role.rca`, `crime.fraud`, `wanted` or `debarment`.
- `positions` (list of string, optional) — Public roles the person holds or held, as the record words them.
- `birthPlaces` (list of string, optional) — Places of birth on the record.
- `gender` (string, optional, nullable) — Gender on the record.
- `countries` (list of string, optional) — Countries the record is linked to.
- `descriptions` (list of string, optional) — The record's own summary of why it is listed, at most three short paragraphs.
- `sourceUrls` (list of string, optional) — Links to the source records, at most five.
- `wikipediaUrl` (string, optional, nullable) — The Wikipedia page for the record, when there is one.
- `incorporationDate` (string, optional, nullable) — When an organisation was incorporated, YYYY-MM-DD.
- `firstSeen` (string, optional, nullable) — When the record first appeared in the source data, YYYY-MM-DD.
- `lastSeen` (string, optional, nullable) — When the record was last seen in the source data, YYYY-MM-DD.
- `lastChange` (string, optional, nullable) — When the record last changed, YYYY-MM-DD.
- `matchedName` (string, optional, nullable) — Which of the record's names matched the name sent.
- `birthDateConflict` (boolean, optional) — True when the record's birth year differs from the one sent: a sign this may not be the same person.

### ScreeningMatchReview

A decision on a match. Null until someone decides.

- `status` (enum, required) — `confirmed`: it is the subject. `false_positive`: it is someone else.
  - Allowed values: `confirmed`, `false_positive`
- `reviewedAt` (datetime, required) — When it was decided.
- `note` (string, optional, nullable) — Why, in the reviewer's words.
- `reviewedBy` (ScreeningMatchReviewReviewedBy, optional, nullable)

### ScreeningMatchReviewReviewedBy

- `name` (string, optional, nullable) — Who decided.
- `email` (string, optional, nullable) — Their email.

## Examples

**Response**

```json
{
  "id": "string",
  "status": "running",
  "subject": {
    "type": "individual",
    "name": "string",
    "dateOfBirth": "string",
    "country": "string",
    "registrationNumber": "string",
    "documentNumber": "string"
  },
  "lists": [
    {
      "list": "sanctions",
      "status": "clear",
      "matchCount": 1,
      "matches": [
        {
          "key": "string",
          "id": "string",
          "review": {
            "status": "confirmed",
            "reviewedAt": "2024-01-15T09:30:00Z",
            "note": "string",
            "reviewedBy": {
              "name": "string",
              "email": "string"
            }
          },
          "name": "string",
          "score": 1,
          "source": "string",
          "sourceUrl": "string",
          "programmes": [
            "string"
          ],
          "aliases": [
            "string"
          ],
          "birthDates": [
            "string"
          ],
          "nationalities": [
            "string"
          ],
          "matchedFields": [
            "string"
          ],
          "kind": "person",
          "datasets": [
            "string"
          ],
          "topics": [
            "string"
          ],
          "positions": [
            "string"
          ],
          "birthPlaces": [
            "string"
          ],
          "gender": "string",
          "countries": [
            "string"
          ],
          "descriptions": [
            "string"
          ],
          "sourceUrls": [
            "string"
          ],
          "wikipediaUrl": "string",
          "incorporationDate": "string",
          "firstSeen": "string",
          "lastSeen": "string",
          "lastChange": "string",
          "matchedName": "string",
          "birthDateConflict": true
        }
      ],
      "topScore": 1
    }
  ],
  "matchCount": 1,
  "channel": "api",
  "createdAt": "2024-01-15T09:30:00Z",
  "review": {
    "state": "none",
    "reviewed": 1,
    "total": 1
  },
  "charged": "string",
  "entityId": "string",
  "verificationId": "string",
  "completedAt": "2024-01-15T09:30:00Z",
  "replayed": true,
  "monitored": true
}
```

**SDK Code**

```python
import requests

url = "https://sandbox-api.toden.co/api/v1/checks/screening/id"

headers = {"Authorization": "Bearer <apiKey>"}

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

print(response.json())
```

```javascript
const url = 'https://sandbox-api.toden.co/api/v1/checks/screening/id';
const options = {method: 'GET', headers: {Authorization: 'Bearer <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://sandbox-api.toden.co/api/v1/checks/screening/id"

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

	req.Header.Add("Authorization", "Bearer <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://sandbox-api.toden.co/api/v1/checks/screening/id")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <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://sandbox-api.toden.co/api/v1/checks/screening/id")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://sandbox-api.toden.co/api/v1/checks/screening/id', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://sandbox-api.toden.co/api/v1/checks/screening/id");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox-api.toden.co/api/v1/checks/screening/id")! 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()
```