> 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.

# List document types

GET https://api.withverifa.com/api/v1/settings/document-types

Returns all custom document types configured for your organization.

**Required scope:** `documents:read`.


Reference: https://docs.withverifa.com/api-reference/document-types/list-document-types

## Authentication

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

## Request

### 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.

## Response

### 200

A list of document types.

- `data` (list of DocumentType, required)

## 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.

## Types

### DocumentType

- `id` (string, required) — Document type ID.
- `org_id` (string, required) — Organization ID.
- `slug` (string, required) — URL-safe identifier for this document type.
- `label` (string, required) — Human-readable display label.
- `category` (string, required) — Parent category for grouping in the dashboard. One of: `financial`, `corporate`, `identity`, `address`, `vehicle`, `government`, or `other`.
- `is_active` (boolean, required) — Whether this document type is active.
- `created_at` (datetime, required)
- `updated_at` (datetime, required)
- `description` (string, optional, nullable) — Free-text visual + content description of this document type. Used by Verifa's document classifier to recognize uploaded documents and pick this type when it matches. Be specific about logos, layouts, and prominent fields — clearer descriptions give better classification accuracy.
- `extraction_hints` (map from string to string, optional, nullable) — Map of `{field_name: hint}` describing the structured fields to extract from documents of this type. Each hint is a short free-text description of how to identify the field — including common synonyms, expected format, and any disambiguation tips ("Member ID, sometimes labeled 'Subscriber ID' or 'Policy #'"). When set, uploaded documents of this type are passed through Verifa's document extractor and the resulting fields appear on the document's `extracted_fields` response field. All extraction runs on Verifa's private infrastructure — document content is never sent to third-party services.
- `check_suite` (list of list of string, optional, nullable) — Optional override of the verification check suite for documents of this type. Each entry is a `[check_name, category, requirement]` tuple. When set, this overrides the org-level check_config and the hardcoded default suite for the matching classification.

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "string",
      "org_id": "string",
      "slug": "string",
      "label": "string",
      "category": "string",
      "is_active": true,
      "created_at": "2024-01-15T09:30:00Z",
      "updated_at": "2024-01-15T09:30:00Z",
      "description": "Auto insurance proof-of-coverage card showing policy number, VIN, named insured, and effective and expiration dates of coverage.",
      "extraction_hints": {
        "vin": "Vehicle Identification Number, 17 alphanumeric characters",
        "policy_number": "Insurance policy reference number",
        "issue_date": "Effective start date of the policy (YYYY-MM-DD)",
        "expiry_date": "End date of the policy coverage (YYYY-MM-DD)"
      },
      "check_suite": [
        [
          "string"
        ]
      ]
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.withverifa.com/api/v1/settings/document-types"

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

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

print(response.json())
```

```javascript
const url = 'https://api.withverifa.com/api/v1/settings/document-types';
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/settings/document-types"

	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/settings/document-types")

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/settings/document-types")
  .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/settings/document-types', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.withverifa.com/api/v1/settings/document-types");
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/settings/document-types")! 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()
```