curl -X GET 'https://verification.didit.me/v3/blocklist/?item_type=document' \
-H 'x-api-key: YOUR_API_KEY'import os
import requests
resp = requests.get(
'https://verification.didit.me/v3/blocklist/',
headers={'x-api-key': os.environ['DIDIT_API_KEY']},
params={'item_type': 'document'},
timeout=10,
)
resp.raise_for_status()
for item in resp.json()['results']:
print(item['session_id'], item['document_type'], item['document_number'])const resp = await fetch('https://verification.didit.me/v3/blocklist/?item_type=document', {
headers: { 'x-api-key': process.env.DIDIT_API_KEY },
});
if (!resp.ok) throw new Error(`Request failed: ${resp.status}`);
const page = await resp.json();
console.log(page.count, page.results);<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://verification.didit.me/v3/blocklist/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/blocklist/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://verification.didit.me/v3/blocklist/")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/blocklist/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"type": "document",
"session_id": "33333333-4444-5555-6666-777777777777",
"session_number": 1042,
"blocklisted_at": "2026-10-12T10:06:12.701553Z",
"face_image": null,
"document_type": "ID",
"document_number": "X1234567",
"front_image": "https://media.example.com/documents/front.jpg?expires=1760263938&signature=8b2e47",
"phone_number": null,
"country_code": null,
"email": null
},
{
"type": "phone",
"session_id": "77777777-8888-9999-0000-111111111111",
"session_number": 1017,
"blocklisted_at": "2026-10-08T15:31:09.400127Z",
"face_image": null,
"document_type": null,
"document_number": null,
"front_image": null,
"phone_number": "+14155552671",
"country_code": "US",
"email": null
}
]
}List Blocklisted Items
GET /v3/blocklist/: list the faces, documents, phone numbers and emails from your Didit sessions that are blocklisted, newest first, in one feed.
curl -X GET 'https://verification.didit.me/v3/blocklist/?item_type=document' \
-H 'x-api-key: YOUR_API_KEY'import os
import requests
resp = requests.get(
'https://verification.didit.me/v3/blocklist/',
headers={'x-api-key': os.environ['DIDIT_API_KEY']},
params={'item_type': 'document'},
timeout=10,
)
resp.raise_for_status()
for item in resp.json()['results']:
print(item['session_id'], item['document_type'], item['document_number'])const resp = await fetch('https://verification.didit.me/v3/blocklist/?item_type=document', {
headers: { 'x-api-key': process.env.DIDIT_API_KEY },
});
if (!resp.ok) throw new Error(`Request failed: ${resp.status}`);
const page = await resp.json();
console.log(page.count, page.results);<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://verification.didit.me/v3/blocklist/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/blocklist/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://verification.didit.me/v3/blocklist/")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/blocklist/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"type": "document",
"session_id": "33333333-4444-5555-6666-777777777777",
"session_number": 1042,
"blocklisted_at": "2026-10-12T10:06:12.701553Z",
"face_image": null,
"document_type": "ID",
"document_number": "X1234567",
"front_image": "https://media.example.com/documents/front.jpg?expires=1760263938&signature=8b2e47",
"phone_number": null,
"country_code": null,
"email": null
},
{
"type": "phone",
"session_id": "77777777-8888-9999-0000-111111111111",
"session_number": 1017,
"blocklisted_at": "2026-10-08T15:31:09.400127Z",
"face_image": null,
"document_type": null,
"document_number": null,
"front_image": null,
"phone_number": "+14155552671",
"country_code": "US",
"email": null
}
]
}reference_session_id. Values typed into a list, uploaded faces, faces taken from a document-capture selfie and the other entry types (IP address, device fingerprint, wallet, bank account, user, business) live only in the system blocklists: read them with List entries.
See Blocklist users for how blocklisting works in the console.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.
Query Parameters
Only items of this type. When omitted, every type is returned.
face, document, phone, email Page size. Defaults to 50. A value above 1000000 returns 400; zero, a negative or a non-numeric value falls back to 50.
1 <= x <= 1000000Zero-based index of the first item to return. Prefer following next. A value above 1000000 returns 400; a negative or non-numeric value falls back to 0.
0 <= x <= 1000000Response
A page of blocklisted items, newest first.
Total number of blocklisted items matching the filters.
x >= 0Absolute URL of the next page, or null on the last page.
Absolute URL of the previous page, or null on the first page.
Show child attributes
Show child attributes