curl -X POST 'https://verification.didit.me/v3/lists/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "Trusted office IPs",
"description": "Office egress ranges",
"list_type": "allowlist",
"entry_type": "ip_address"
}'import os
import requests
resp = requests.post(
'https://verification.didit.me/v3/lists/',
headers={'x-api-key': os.environ['DIDIT_API_KEY']},
json={
'name': 'Trusted office IPs',
'description': 'Office egress ranges',
'list_type': 'allowlist',
'entry_type': 'ip_address',
},
timeout=10,
)
resp.raise_for_status()
print('Created list', resp.json()['uuid'])const resp = await fetch('https://verification.didit.me/v3/lists/', {
method: 'POST',
headers: {
'x-api-key': process.env.DIDIT_API_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'Trusted office IPs',
description: 'Office egress ranges',
list_type: 'allowlist',
entry_type: 'ip_address',
}),
});
if (!resp.ok) throw new Error(`Create failed: ${resp.status}`);
const list = await resp.json();
console.log('Created list', list.uuid);<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://verification.didit.me/v3/lists/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Trusted office IPs',
'description' => 'Office egress ranges',
'list_type' => 'allowlist',
'entry_type' => 'ip_address'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/lists/"
payload := strings.NewReader("{\n \"name\": \"Trusted office IPs\",\n \"description\": \"Office egress ranges\",\n \"list_type\": \"allowlist\",\n \"entry_type\": \"ip_address\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://verification.didit.me/v3/lists/")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Trusted office IPs\",\n \"description\": \"Office egress ranges\",\n \"list_type\": \"allowlist\",\n \"entry_type\": \"ip_address\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/lists/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Trusted office IPs\",\n \"description\": \"Office egress ranges\",\n \"list_type\": \"allowlist\",\n \"entry_type\": \"ip_address\"\n}"
response = http.request(request)
puts response.read_body{
"uuid": "22222222-3333-4444-5555-666666666666",
"name": "Trusted office IPs",
"description": "Office egress ranges",
"list_type": "allowlist",
"entry_type": "ip_address",
"is_system": false,
"entry_count": 0,
"last_entry_added_at": null,
"created_at": "2026-10-12T09:15:44.031876Z",
"updated_at": "2026-10-12T09:15:44.031876Z"
}Create List
POST /v3/lists/: create a new allowlist or custom list for your Didit application. System blocklists are auto-provisioned. Pay-per-call, no contracts.
curl -X POST 'https://verification.didit.me/v3/lists/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "Trusted office IPs",
"description": "Office egress ranges",
"list_type": "allowlist",
"entry_type": "ip_address"
}'import os
import requests
resp = requests.post(
'https://verification.didit.me/v3/lists/',
headers={'x-api-key': os.environ['DIDIT_API_KEY']},
json={
'name': 'Trusted office IPs',
'description': 'Office egress ranges',
'list_type': 'allowlist',
'entry_type': 'ip_address',
},
timeout=10,
)
resp.raise_for_status()
print('Created list', resp.json()['uuid'])const resp = await fetch('https://verification.didit.me/v3/lists/', {
method: 'POST',
headers: {
'x-api-key': process.env.DIDIT_API_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'Trusted office IPs',
description: 'Office egress ranges',
list_type: 'allowlist',
entry_type: 'ip_address',
}),
});
if (!resp.ok) throw new Error(`Create failed: ${resp.status}`);
const list = await resp.json();
console.log('Created list', list.uuid);<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://verification.didit.me/v3/lists/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Trusted office IPs',
'description' => 'Office egress ranges',
'list_type' => 'allowlist',
'entry_type' => 'ip_address'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/lists/"
payload := strings.NewReader("{\n \"name\": \"Trusted office IPs\",\n \"description\": \"Office egress ranges\",\n \"list_type\": \"allowlist\",\n \"entry_type\": \"ip_address\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://verification.didit.me/v3/lists/")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Trusted office IPs\",\n \"description\": \"Office egress ranges\",\n \"list_type\": \"allowlist\",\n \"entry_type\": \"ip_address\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/lists/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Trusted office IPs\",\n \"description\": \"Office egress ranges\",\n \"list_type\": \"allowlist\",\n \"entry_type\": \"ip_address\"\n}"
response = http.request(request)
puts response.read_body{
"uuid": "22222222-3333-4444-5555-666666666666",
"name": "Trusted office IPs",
"description": "Office egress ranges",
"list_type": "allowlist",
"entry_type": "ip_address",
"is_system": false,
"entry_count": 0,
"last_entry_added_at": null,
"created_at": "2026-10-12T09:15:44.031876Z",
"updated_at": "2026-10-12T09:15:44.031876Z"
}allowlist and custom lists can be created: Didit provisions one system blocklist per entry type, and you add to it with Create entry.
Choose entry_type carefully: it cannot be changed later, and it decides how each value is validated when you add it. See Lists for what each list type does.Authorizations
Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is missing, wrong, revoked or expired; 403 means the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.
Body
List name. Must differ from the name of every other list of the application, system lists included.
1 - 255allowlist or custom. blocklist is refused with 400.
allowlist, custom What the list holds: face, document (document number), phone, email, ip_address (IP address or CIDR range), device_fingerprint, wallet_address, bank_account, country (ISO 3166-1 alpha-3), user or business (your vendor_data), or key (any string). It decides how entry values are validated and matched. Cannot be changed later.
face, document, phone, email, ip_address, device_fingerprint, wallet_address, bank_account, country, user, business, key Optional free-text description.
Response
The list was created.
A blocklist, allowlist or custom list of one application.
List identifier. Use it as list_uuid in the list and entry endpoints, and as the value of a workflow or transaction rule condition with value_type: "list".
List name, unique among the application's lists.
255Free-text description. Empty string when not set.
blocklist: a match declines the session or transaction (system lists only, one per entry type). allowlist: matching items are trusted, for example a face allowlist skips the duplicated-face action; never overrides a blocklist match. custom: used in workflow and transaction rule conditions (value_type: "list").
blocklist, allowlist, custom What the list holds: face, document (document number), phone, email, ip_address (IP address or CIDR range), device_fingerprint, wallet_address, bank_account, country (ISO 3166-1 alpha-3), user or business (your vendor_data), or key (any string). It decides how entry values are validated and matched.
face, document, phone, email, ip_address, device_fingerprint, wallet_address, bank_account, country, user, business, key true for the lists Didit provisions: one blocklist per entry type (face, document, phone, email, ip_address, device_fingerprint, wallet_address, bank_account, user, business), the High Risk Countries custom list, and system allowlists. System lists cannot be renamed, edited or deleted; you can add and delete their entries.
Number of entries currently in the list.
x >= 0When the newest current entry was added. null for an empty list.
When the list was created.
When the list was last updated.