Skip to main content

Technical

Didit Lists API: Create, List and Delete Blocklist Entries

The Didit Lists API adds, lists and deletes blocklist entries over REST by value, by session reference or by base64 face upload. Blocklists themselves are system-created and cannot be created over the API.

Didit Lists API: Create, List and Delete Blocklist Entries

Contents

In this guide

Jump to the part you need.

The Didit Lists API is for developers who manage the blocklists an application already has. You add, list and delete entries over REST, so a fraud event in your own system becomes an automatic decline on the next verification or transaction, for teams already sending us sessions. List management has no published per-call price; the checks the lists affect are billed per completed check. The main caveat: blocklists are system-created, so you add and remove entries, never the list.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Didit Lists API at a glance

Endpoints, auth, entry types and price for the Didit Lists API
ItemDetail
Base pathhttps://verification.didit.me/v3/lists/
Auth headerx-api-key with your Didit API key
Add an entryPOST /v3/lists/{list_uuid}/entries/
Add a face from a base64 imagePOST /v3/lists/{list_uuid}/entries/face-upload/
List entriesGET /v3/lists/{list_uuid}/entries/, paginated, with search
Delete an entryDELETE /v3/lists/{list_uuid}/entries/{entry_uuid}/, returns 204
Entry typesface, document, phone, email, ip_address, device_fingerprint, wallet_address, bank_account, user, business, country, key
Creating a blocklistNot available over the API. Blocklists are system-created, one per entry type, and cannot be renamed or deleted
Published per-call priceNo line in the live price feed for list management. The checks the lists act on are billed per completed check: full ID check $0.33, wallet screening $0.15
SandboxFree and unlimited, keys start with sk_test_, every check is mocked
MCP serverhttps://mcp.didit.me/mcp, OAuth sign-in, free on every plan

Start free in the sandbox at business.didit.me (no sales call) and, for developers, connect Didit to an AI assistant via didit.me/developers/mcp. Blocklist entries are checked inside transaction monitoring and every verification workflow, and the unit prices sit on didit.me/pricing.

What the Lists API manages

Three list types live under the same base path. Only one of them is a blocklist.

List types in the Didit Lists API
List typeWho creates itWhat it does
BlocklistDidit, one per entry typeAn item in a blocklist causes an automatic decline during verification or transaction screening. Cannot be deleted or renamed
AllowlistYou, or Didit as a system allowlistUsed in workflow conditions and to suppress duplicate and reuse actions for trusted matching items
CustomYouFlexible lists for workflow branching, monitoring rules or manual review

An allowlist does not override a blocklist or an authenticity check. It only suppresses duplicate and reuse actions for the same entry type, for example skipping DUPLICATED_FACE for a trusted face. Didit still records an informational allowlist warning, so you can audit why the duplicate action did not run.

Entry types and what happens on a match
Entry typeChecked duringOn match
faceLiveness verification, and document capture selfiesSession declined
documentID verification, OCRSession declined
phonePhone verificationSession declined
emailEmail verificationSession declined
ip_addressDevice and IP analysis, CIDR ranges supportedSession declined
device_fingerprintDevice and IP analysisSession declined
wallet_addressTransaction screeningTransaction declined
bank_accountTransaction screeningTransaction declined
userTransaction screeningUser blocked
businessTransaction screeningBusiness blocked
countryWorkflow conditionsConfigurable
keyCustom useConfigurable

Didit provides system blocklists for supported verification and transaction entry types, and the Lists API reads and writes those same lists.

Didit console blocklist dialog listing document, face, phone number and email blocklists
The blocklist dialog in the Didit console. The Lists API reads and writes these same system blocklists.

Verification and transaction blocklists share the same lists

Transaction blocklist checks are separate from verification blocklist checks, but both use the same underlying lists. An entity blocklisted for verification is also blocklisted for transactions. In practice you send a supported entity such as a wallet address or user identifier once, and both screening paths use the same underlying list where applicable.

Transaction checks run before rules. If a wallet address, bank account, IP address, device fingerprint, user or business matches, the transaction is declined immediately and no monitoring rule is evaluated.

Install routes: the documented MCP server, or plain REST

The documented MCP server

Our MCP server is hosted at mcp.didit.me/mcp and signs in with OAuth, so there is no key to paste into the assistant. It is free on every plan, and the setup steps for each client are at didit.me/developers/mcp. MCP Server 3.0.3 moved the blocklist tools onto the Lists API, so an assistant that used the old blocklist tools now calls the same endpoints documented here.

The REST route

Nothing to install. The Lists API is plain HTTPS, with JSON bodies and x-api-key on every call, and the full contract ships as openapi-25.json. Where a client has no documented connector, use these calls instead of waiting for one. If you would rather have a coding agent write the integration, hand it the integration prompt.

Prerequisites

What you need before the first Lists API call
RequirementDetail
PlanAny plan. The Free plan gives $10 of monthly credit to eligible organizations, and sandbox testing is free and unlimited.
ApplicationLists belong to one application. A list UUID from another application answers 404.
API keyFrom the Business Console, under Developers, then API keys. Sandbox keys start with sk_test_, live keys with sk_live_.
Scopesworkflows: read to list entries, workflows: write to add or delete, media: read to receive the signed image URLs in entry metadata.
Clientcurl, any HTTP client, or an MCP client pointed at the server above.
Entry dataThe value in its stored form: E.164 phone, valid email, ISO country code, IP or CIDR range, or a face UUID from one of your sessions.

Build the integration in seven steps

Step 1: Get an API key

In the Business Console, pick your Application from the dropdown at the top, open Developers, then API keys. Copy the Primary key, or create a scoped key with the scopes above. Keep the key server side, never in a browser bundle.

If you are building without the console, POST https://apx.didit.me/auth/v2/programmatic/register/ emails a six character code, and POST https://apx.didit.me/auth/v2/programmatic/verify-email/ returns the live and sandbox keys inline. Full detail is in API authentication.

Step 2: Find the blocklist UUID

Every application gets system blocklists, one per supported entry type. Filter on the one you need. Blocklists cannot be created over the API: POST /v3/lists/ creates an allowlist or a custom list only.

curl -X GET "https://verification.didit.me/v3/lists/?list_type=blocklist&entry_type=email" \
  -H "x-api-key: $DIDIT_API_KEY"

Step 3: Add an email, phone number or IP address by value

This is the direct route to add an email, phone number or IP address to a blocklist through the API. Post a value that passes the validator for the list's entry type, and optionally a display_label (at most 512 characters) and a comment.

curl -X POST "https://verification.didit.me/v3/lists/{list_uuid}/entries/" \
  -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"value": "repeat.abuse@example.com", "comment": "Reported fraud", "display_label": "Chargeback ring"}'
  • email: a valid email address.
  • phone: a valid international number, stored in E.164.
  • ip_address: an address or a CIDR range such as 10.0.0.0/8.
  • device_fingerprint: at least 8 characters among letters, digits, -, _, : and .. A blocklist refuses a fingerprint that several distinct devices have reported.
  • country: ISO 3166-1 alpha-2 or alpha-3, stored as alpha-3.

Values are case-insensitive and normalized on storage. A list holds each value once: adding a value that is already there returns 400.

Step 4: Add an entry from a session or a transaction

Passing reference_session_id is the shortest path when the fraud already happened in a verification. Didit looks up the session, reads the value from its most recent record of the list's entry type, marks the underlying record as blocklisted and links the entry back to the session.

curl -X POST "https://verification.didit.me/v3/lists/{list_uuid}/entries/" \
  -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"reference_session_id": "33333333-4444-5555-6666-777777777777"}'

For a transaction, a vendor user or a vendor business, send the value with reference_object_uuid and metadata.reference_type, set to transaction, vendor_user or vendor_business. The console then links the entry back to the source record.

curl -X POST "https://verification.didit.me/v3/lists/{list_uuid}/entries/" \
  -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"value": "0x52908400098527886E0F7030069857D2E4169EE7", "reference_object_uuid": "55555555-6666-7777-8888-999999999999", "metadata": {"reference_type": "transaction"}}'

Step 5: Add a face, including a base64 upload

A session can give you more than one face: the liveness selfie, and the selfies the front camera takes while the user photographs the front and back of their document. Each is blocklisted on its own, which also covers a user who stopped before the liveness step. On the system face blocklist, leave value empty and set face_image_source.

curl -X POST "https://verification.didit.me/v3/lists/{list_uuid}/entries/" \
  -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"reference_session_id": "33333333-4444-5555-6666-777777777777", "face_image_source": "front_image_camera_front"}'

When you hold a face image and no session, the face upload route takes it directly. Didit extracts the biometric from the image and stores the template on the face list, so you never compute a template yourself. The request body is the base64 face image; the exact schema is in the OpenAPI contract.

POST https://verification.didit.me/v3/lists/{list_uuid}/entries/face-upload/
x-api-key: $DIDIT_API_KEY
Content-Type: application/json
body: base64 face image, schema in openapi-25.json

This endpoint works on a face blocklist or a face allowlist only. Sending it to another list type, or sending a value alongside it, returns 400. If face analysis is briefly unavailable the call returns 503 and nothing is added, so retry later.

Faces added through the API land in the same face blocklist you see in the console, with added_by set to api.

Face blocklist in the Didit console, showing the faces you can add from a session
The face blocklist in the console. A face posted through the API appears here, marked as added by the API.

Step 6: List and search the entries

Entries come back newest first. search matches part of a value or a display label without regard to case, and reference_session_id narrows the result to the entries taken from one session, which is how you check which of its faces are already blocked.

curl -X GET "https://verification.didit.me/v3/lists/{list_uuid}/entries/?search=example.com&limit=50&offset=0" \
  -H "x-api-key: $DIDIT_API_KEY"

Image URLs in metadata are short-lived signed URLs issued again on every call, so fetch them fresh rather than storing them. A key without media: read receives null in their place.

Step 7: Delete an entry to unblock

curl -X DELETE "https://verification.didit.me/v3/lists/{list_uuid}/entries/{entry_uuid}/" \
  -H "x-api-key: $DIDIT_API_KEY"

Success returns 204 with an empty body. On a system blocklist, Didit also lifts the block the entry set: the face, document, phone number or email is no longer flagged, and a BLOCKED user or business whose vendor_data or UUID matches a user or business entry returns to ACTIVE, whatever blocked it. Deletion is irreversible, and a second DELETE on the same entry_uuid returns 404. To lift the block on a session's face, document, phone or email in one call, the docs point to Remove from blocklist.

Field mapping

Mapping your record to a Didit list entry and its match event
What you holdentry_typeValue formatWhat fires on a match
Email addressemailValid email, stored lower caseSession declined, EMAIL_IN_BLOCKLIST
Phone numberphoneInternational number, stored in E.164Session declined, PHONE_NUMBER_IN_BLOCKLIST
IP or CIDR rangeip_addressAddress or rangeSession declined, IP_ADDRESS_IN_BLOCKLIST
Device fingerprintdevice_fingerprint8+ characters of letters, digits, -, _, :, .Session declined, DEVICE_FINGERPRINT_IN_BLOCKLIST
Face from a sessionfaceFace UUID or session referenceSession declined, FACE_IN_BLOCKLIST
Selfie taken during document capturefaceface_image_source of front_image_camera_front or back_image_camera_frontFRONT_CAMERA_FACE_IN_BLOCKLIST, or POSSIBLE_FRONT_CAMERA_FACE_IN_BLOCKLIST for a near match sent to review
Document numberdocumentDocument number, with full name, issuing state, document type, region and number in metadataSession declined, ID_DOCUMENT_IN_BLOCKLIST
Wallet payment methodwallet_addressMatched against the payment method account_idTransaction declined
Bank payment methodbank_accountMatched against the payment method account_idTransaction declined
User identifieruserThe user's vendor_dataUser blocked
Business identifierbusinessThe business's vendor_dataBusiness blocked
CountrycountryISO 3166-1 alpha-2 or alpha-3, stored alpha-3Workflow condition, configurable

Lists are also referenced by workflow status_rules with value_type: "list" for runtime list checks, which is how a custom list drives branching instead of a decline.

Response fields you read back

The entries call returns a pagination envelope of count, next and previous, with one object per entry in results. These are the fields that matter when you wire the response into your own fraud system.

Fields on one entry returned by GET /v3/lists/{list_uuid}/entries/
FieldWhat it tells you
uuidThe entry id. Use it as entry_uuid in the delete call.
valueThe stored value: phone number in E.164, email, document number, IP or CIDR range, wallet address, country code, vendor_data, or a face UUID on face lists. Matching is case-insensitive.
display_label, commentYour label and note, which also tell you why the entry exists.
added_byapi for an API key, a console user's email or console, system for entries we provision, or rule for a transaction rule action.
reference_session_id, reference_session_number, reference_session_typeSet when the entry came from a verification session. The session type is kyc or kyb.
reference_object_uuid plus metadata.reference_typeThe transaction, vendor user or vendor business the entry stands for.
metadataDocument context (full name, issuing state, document type, document number), short-lived signed image URLs on face and document entries, and face_image_source plus reference_node_id for a selfie taken during document capture.

Test with sandbox data, then disconnect

Work in the sandbox application first. Its key starts with sk_test_, every check is mocked, and nothing is charged. Use it to confirm request shapes and status codes: a create with a valid value returns the entry with its uuid, the same value posted again returns 400, the list call returns the entry with added_by set to api, and the delete answers 204 with an empty body.

Error cases and fixes for the Lists API
StatusCauseFix
400Value fails the entry type validator, or is already in the listNormalize first: E.164 phone, ISO country, valid email. Search the list before adding
400Neither value nor reference_session_id was sent, or the session has no record of the list's entry typeSend a value, or pick the blocklist whose entry type the session actually collected
400face_image_source sent to a list that is not the system face blocklist, or sent with a valueUse the system face blocklist and leave value empty
400System list modified or deleted, or list name already used in this applicationSystem lists are immutable; pick a new name
401The API key expired, is wrong or was revokedRecover the key or create a new one
403Missing x-api-key header, or a scoped key without workflows: read or workflows: writeAdd the scope under Developers, then API keys
404List or entry not in this application, including a list that belongs to another applicationCheck which application the key belongs to
404Second DELETE on the same entry_uuidDeletion is final, create a new entry to list the value again
429Rate limitedBack off and retry, see rate limiting
503Face analysis temporarily unavailable during a face uploadNothing was added, retry later

To disconnect, delete the entries you created during testing with the delete call, then remove or revoke the test key under Developers, API keys. Finished sessions and transactions keep their status after a delete, so nothing already decided changes. If you kept biometric templates, the retention rules are on data retention.

What it costs at both ends

On our side you pay for the checks, not for the list management. A full ID check is $0.33, wallet screening is $0.15 per screening, and transaction monitoring is $0.001 per transaction only beyond the plan allowance: 1,000 monitored transactions a month on Free, 10,000 on Growth and 100,000 on Scale. That allowance resets on the 1st of the month and does not roll over. The live price feed has no per-call line for adding, listing or deleting a list entry, so list management adds no published fee of its own; on your side the list calls are plain HTTPS requests you write.

Worked example, one month with 4,000 full ID checks and 500 wallet screenings. At list price: 4,000 x $0.33 = $1,320.00, and 500 x $0.15 = $75.00, for $1,395.00. On Growth the same volume is 4,000 x $0.3168 = $1,267.20 plus 500 x $0.144 = $72.00, so $1,339.20 of usage. That usage is paid from the $115 monthly credit and then top-ups, plus the $99 monthly fee: $99.00 + ($1,339.20 - $115.00) = $1,323.20. Blocklist entries add nothing to either figure.

Sources

Next step: create a sandbox application at business.didit.me, copy the sk_test_ key, and call GET /v3/lists/ to see the blocklists your application already has. No sales call, and nothing is charged in the sandbox.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

How do I add an email, phone number or IP address to a Didit blocklist with the API?

Find the blocklist UUID with GET /v3/lists/?list_type=blocklist&entry_type=email (or phone, or ip_address), then send POST /v3/lists/{list_uuid}/entries/ with a value and the x-api-key header. Phone numbers are stored in E.164, IP entries accept a single address or a CIDR range, and values are case-insensitive. Adding a value that already exists returns 400.

Can I create a new blocklist with the Lists API?

No. Blocklists are system-created, one per entry type, and cannot be deleted or renamed. POST /v3/lists/ creates an allowlist or a custom list only. Through the API you add entries to an existing blocklist, read them and delete them.

Do verification blocklists and transaction blocklists use the same lists?

Yes. Transaction blocklist checks are separate from verification blocklist checks, but both use the same underlying lists, so an entity blocklisted for verification is also blocklisted for transactions. A wallet address, bank account, IP address, device fingerprint, user or business match declines the transaction before any monitoring rule is evaluated.

How do I upload a face image to a Didit blocklist as base64?

Use POST /v3/lists/{list_uuid}/entries/face-upload/ on a face blocklist or face allowlist, sending the base64 image in the body. Didit extracts the biometric and stores the template, so you never compute a template yourself. If you already have a verification session, face_image_source is usually simpler because the face comes straight from the session.

How do I unblock a face, phone number or email address?

Call DELETE /v3/lists/{list_uuid}/entries/{entry_uuid}/ and expect 204 with an empty body. On a system blocklist the underlying face, document, phone number or email is no longer flagged, and a blocked user or business whose vendor_data matches returns to ACTIVE. The delete is irreversible, and sessions or transactions that already finished keep their status.

What does the Lists API cost?

The live price feed carries no per-call line for list management, so adding, listing and deleting entries does not add a charge of its own. What you pay for is the checks the lists act on: a full ID check at $0.33, wallet screening at $0.15 per screening, and transaction monitoring at $0.001 per transaction beyond the plan allowance. Sandbox calls are free.

Which API key scope does the Lists API need?

A scoped key needs workflows: read to list entries and workflows: write to add or delete them. Add media: read if you want the signed image URLs in entry metadata, otherwise they arrive as null. A key without the right scope answers 403, while a wrong or expired key answers 401.

Can I manage Didit blocklists from an AI assistant?

Yes, through the Didit MCP server at mcp.didit.me/mcp, which signs in with OAuth and is free on every plan. Point your client at it following the setup steps at didit.me/developers/mcp, then ask the assistant to block, search or unblock an entry. Since MCP Server 3.0.3 those tools call the Lists API, so the entry the assistant creates is the same one you would create with curl.

Why do I get 404 List not found when the list is visible in the console?

Lists belong to one application, and a list UUID from another application answers 404 rather than revealing that it exists. Check the application behind the API key against the application you selected in the console. A deleted list answers 404 as well.

Why does adding a value that already exists return 400?

A list holds each value once. Values are normalized on storage, so User@Example.com and user@example.com collide, as do two spellings of the same phone number. Search the list first with GET /v3/lists/{list_uuid}/entries/?search= before adding, and delete the existing entry and create a new one if the value must be changed.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.