Skip to main content

Build a KYB Analyst Review Queue with the Businesses API

Call GET https://verification.didit.me/v3/businesses/?status=FLAGGED with a key whose role grants list:businesses, follow next to page, then rank the queue in your own code by last_activity_at and in_review_count.

Build a KYB Analyst Review Queue with the Businesses API

Contents

In this guide

Jump to the part you need.

This guide is for teams already running KYB sessions who need a review inbox built on our Businesses API. It fits a compliance engineer or a back end developer wiring an analyst queue. The list call has no published per-call price; the checks behind each business start at $2.00 per company. The main caveat: the status filter takes the business enum, ACTIVE, FLAGGED or BLOCKED, not session statuses, and the reference page documents the status filter while the embedded OpenAPI description on the same route contradicts it, so verify it against your deployed schema.

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

What the Businesses API gives a KYB review queue
ItemDetail
EndpointGET https://verification.didit.me/v3/businesses/
Authx-api-key header, server side only, per application
Permissionthe key's role must grant list:businesses
Status filterACTIVE, FLAGGED, BLOCKED (VendorBusinessStatusChoices)
Page sizelimit 1 to 200, default 50; follow the next URL
Orderinglast_session_at descending
Price of the readno published per-call price in the price book
Price of the checks behind itKYB registry from $2.00 per company, priced by country and tier, company AML $0.20, person AML $0.20 per UBO or officer, KYB documents $0.20 per step, linked KYC $0.33 per person
Main caveatbusiness status is not the session enum; count is exact only up to 100

Start free in the sandbox at business.didit.me, no sales call needed. The product page is Business Verification (KYB), every unit price is on didit.me/pricing, and developers who want an assistant to drive the same calls can connect Didit through the Didit MCP server.

A KYB session moving from registry lookup to UBO identification
The queue does not verify anything by itself. Each row points an analyst at a business session that already ran registry, AML and document checks.

Outcome and the method we recommend

The outcome is a ranked list in your application. Request flagged businesses, follow pagination, and sort the returned fields in your code. The method we recommend is one filtered list call plus following the next URL, not a full export. Pull the list, rank it in your own code, and fetch a single business or its session decision only when an analyst opens a case. The list endpoint has no published per-call price, so budget from the checks themselves, and keep the detail calls for the moment a human is actually looking.

We keep the split clear on purpose. The Businesses API is a management surface: it tells you which entities exist, how their sessions ended, and which features are waiting on a person. The decision itself happens in the Business Console, where an analyst reviews registry data, key people, AML hits and documents, can request more documents, and can approve, decline or request a resubmission.

Prerequisites

  • A Didit application with at least one KYB workflow and at least one business session, so the list is not empty. See the KYB overview.
  • An API key from Developers, then API keys in the Business Console. New keys start with sk_live_ for a live application or sk_test_ for a sandbox application. Never validate a key by its prefix alone; older keys have no prefix and keep working.
  • A role that grants list:businesses on the businesses resource. The built in Compliance Officer role covers business profiles; a custom role needs the list action added explicitly in Settings, then Organization, then Roles and permissions.
  • The key kept server side. It is a secret, so it never ships to a browser or a mobile bundle.

Steps

  1. Confirm the permission before you write the job. Open Settings, then Organization, then Roles and permissions and check that the role behind your key includes list:businesses for businesses. A key whose role lacks it answers 403 even when the key is valid.
  2. Create or copy the key for the right application. Keys belong to an application, not to your whole organization. If the sandbox list is empty and you expect data, check you are not calling with the key of a different application.
  3. Call the list with the flagged filter. This is the exact call from our reference, with limit set to 50:
curl -X GET 'https://verification.didit.me/v3/businesses/?limit=50&status=FLAGGED' \
  -H 'x-api-key: YOUR_API_KEY'
  1. Page until next is null. Do not build offsets by hand. The reference loop is short, and it follows the next URL that each page returns:
import requests

API_KEY = "YOUR_API_KEY"

url = "https://verification.didit.me/v3/businesses/?limit=200&status=FLAGGED"
while url:
    r = requests.get(url, headers={"x-api-key": API_KEY})
    r.raise_for_status()
    page = r.json()
    for biz in page["results"]:
        print(biz["display_name"], biz["last_activity_at"], biz["in_review_count"])
    url = page["next"]
  1. Rank what came back. The endpoint returns rows ordered by last_session_at descending. For an analyst inbox, re-sort in your own code on last_activity_at, then on in_review_count, then on the features map. The next section spells out the ranking.
  2. Fetch detail only on open. When an analyst opens a row, read the single business with GET /v3/businesses/{id}, and read the session decision at GET /v3/session/{session_id}/decision/ when you need the full arrays of key people, documents and AML screenings. Those detail calls are where the reviews actually live.
  3. Keep the queue fresh with webhooks. Subscribe to business.status.updated and business.data.updated so a business leaving FLAGGED disappears from the queue without waiting for the next poll. status.updated with session_kind equal to business covers progress inside a session. Verify the X-Signature-V2 header and de-duplicate on event_id.
  4. Push the analyst decision back into the record. Approving, declining or requesting a resubmission is a console action. Once it lands, the business status and the counters change, and your queue picks it up through the webhook or the next list call.

The reference is explicit about one thing worth repeating to your team: status accepts ACTIVE, FLAGGED and BLOCKED, which are VendorBusinessStatusChoices, and not the session enum. A session sits in strings such as Not Started, In Progress, Approved, Declined, In Review, Resubmitted. Filtering the list on In Review returns nothing useful.

Expected output

A 200 answer is an envelope with count, next, previous and results. Each item is a BusinessListItem. The shape below uses example values:

{
  "count": 100,
  "next": "https://verification.didit.me/v3/businesses/?limit=200&status=FLAGGED&offset=200",
  "previous": null,
  "results": [
    {
      "didit_internal_id": "0b0f0c1e-0000-0000-0000-000000000000",
      "vendor_data": "company-123",
      "display_name": "Acme Holdings Ltd",
      "legal_name": "ACME HOLDINGS LIMITED",
      "registration_number": "01234567",
      "country_code": "GB",
      "effective_name": "Acme Holdings Ltd",
      "status": "FLAGGED",
      "session_count": 3,
      "approved_count": 1,
      "declined_count": 0,
      "in_review_count": 2,
      "features": {
        "KYB_REGISTRY": "Approved",
        "KYB_AML": "In Review",
        "KYB_DOCUMENTS": "Resub Requested"
      },
      "last_session_at": "2026-11-24T10:12:00Z",
      "first_session_at": "2026-11-02T09:00:00Z",
      "last_activity_at": "2026-11-25T08:40:00Z",
      "created_at": "2026-11-02T09:00:00Z"
    }
  ]
}

Two readings matter. The 100 in count above is the cap, not a total: count is exact up to 100 and capped above that, and pagination still works through next. And vendor_data is a free form string you supplied when the session was created, not a UUID, and it can be null.

Ranking the queue with the fields you already have

This ordering is an implementation heuristic for your own code, not something the list endpoint does for you: it returns rows ordered by last_session_at descending, and no more than that. Activity first. last_activity_at is the field that carries the most recent recorded activity on the business, so a row that just changed state rises to the top of your sort. Then volume: in_review_count above zero means sessions from this business are still with a reviewer rather than settled, and approved_count against declined_count tells an analyst whether they are looking at a first review or a repeat relationship.

Then the feature map. features is a dictionary keyed by feature name whose value is the latest status of that feature, and features_list gives the same set as a list. In our suggested ordering, a row where KYB_AML is In Review needs an AML reviewer; a row where KYB_DOCUMENTS is Resub Requested is waiting on the business, not on you, so it can sit behind the ones a person can clear now. Read the keys from one real response before you hardcode them: the list reference names KYB_REGISTRY, KYB_AML and KYB_DOCUMENTS, while the integration guide refers to the AML feature as AML and adds KYB_KEY_PEOPLE.

Key people in the Didit Business Console with their linked KYC sessions
Key people and their linked KYC sessions in the console. A row with a pending person check is a queue item an analyst can act on immediately.

Pagination and the count cap

The runnable example in this guide is the contract we document end to end: send limit, then follow the next URL from each response until it is null. The parameter table on the same reference page also lists page_size (1 to 200, default 50) and a cursor. Read the OpenAPI schema for your key to confirm which pair it accepts before you ship, and do not assemble offsets by hand in the meantime.

Separately, count is exact only up to 100 and is capped above that. Never drive a progress bar from it. If you need a true total, count the rows you received while paging.

Failure cases and recovery

What goes wrong and what to do
SymptomCauseRecovery
401Missing or invalid x-api-key, or a revoked or expired keyRe issue the key in Developers, then API keys, and load it from the server environment
403The key exists but its role lacks list:businesses, or the key was called from an address outside its IP listAdd the permission to the role, or use a key that has it
429Rate limited; the response carries a wait field in secondsBack off for that many seconds, then retry the same URL
Empty list on a key you expect to have dataWrong application, or a filter that uses a session status such as In Review instead of FLAGGEDCheck the application behind the key, and check the filter spelling against the enum
Filter seems ignoredThe OpenAPI description for this route states it does not support filtering or search parameters and asks you to fetch pages and filter client sideAsk for a page and filter on status in your own code, which always works; raise it with us if filtering is what you need at scale
A business you know exists is missingDeleted businesses are not returnedCheck the console for the entity before assuming an API fault
vendor_data is nullThe originating session did not supply oneKey your own table on didit_internal_id instead
The details of a single AML hit in the Didit Business Console
The detail an analyst opens after the queue sent them here: one AML hit with its match and risk context.

Inputs and outputs

Query parameters and the fields a queue uses
NameTypeWhat it does
statusstringACTIVE, FLAGGED or BLOCKED; the business enum, not the session enum
searchstringSubstring match across display name, legal name, registration number and vendor_data
countrystringCountry of incorporation, ISO 3166-1 alpha-2 (for example GB). The schema on the same page instead lists country_code as ISO 3166-1 alpha-3, so the two representations conflict and you should confirm the accepted form against your deployed schema
limitinteger1 to 200, default 50
offsetinteger0 or more; prefer following next
didit_internal_idUUIDStable identifier for the business; use it as your primary key
session_count, approved_count, declined_count, in_review_countintegerCounters for ranking depth of relationship and open work
featuresmapLatest status per feature, for example KYB_REGISTRY, KYB_AML, KYB_DOCUMENTS
last_session_at, first_session_at, last_activity_attimestampOrdering and prioritisation, default response order is last_session_at descending
tags, created_at, effective_namelist, timestamp, stringGrouping and display in the queue

Reading the list is a management call and the price book has no line for it. What you pay for is the work behind each business, billed per completed check from prepaid credit: the registry retrieval from $2.00 per company as a starting price, priced by country and data tier, company AML screening at $0.20, person AML at $0.20 per UBO or officer, KYB documents at $0.20 per collection step regardless of how many files are uploaded, and a linked full ID check at $0.33 for each person who needs KYC. Company registry monitoring is $2.00 per company a year.

The review boundary is the part teams get wrong. The API tells you which business needs a person and why. It does not decide. An analyst in the Business Console reviews the collected data, adds comments, requests additional documents from the business, and makes the final decision, which moves the business status and the counters your queue reads. Ongoing AML monitoring is a separate opt in and incurs a fee for each monitoring cycle, so decide per business rather than switching it on across every flagged entity.

Worked cost example

Take a month in which 40 businesses sit in the flagged queue. Each one needs the registry retrieval at the Lite tier, company AML, two key people screened at person level, two linked ID checks, and one document collection step. Per business, at the from price for registry data:

  • Registry retrieval, from: $2.00 (varies by country and tier)
  • Company AML: $0.20
  • Person AML, 2 people: 2 x $0.20 = $0.40
  • Linked KYC, 2 people: 2 x $0.33 = $0.66
  • KYB documents, 1 step: $0.20

Total per business: $2.00 + $0.20 + $0.40 + $0.66 + $0.20 = $3.46. For 40 businesses: 40 x $3.46 = $138.40 at list price. On Scale, with 10% off every Didit price, the same checks come to $1.80 + $0.18 + $0.36 + $0.594 + $0.18 = $3.114 per business, so 40 x $3.114 = $124.56. On Growth, with 4% off, the per business figure is $3.3216, so 40 x $3.3216 = $132.86. The list endpoint has no published per-call price, so verify billing before estimating it as zero.

Sources

Next step: create a sandbox application at business.didit.me, copy the sk_test_ key from Developers, then API keys, and run the flagged call with status=FLAGGED. Sandbox checks are free, so you can shape the queue before a live business touches it.

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

Does the Businesses API status filter accept In Review?

No. The status filter on GET https://verification.didit.me/v3/businesses/ accepts ACTIVE, FLAGGED and BLOCKED, which come from VendorBusinessStatusChoices. In Review is a session status, not a business status, so use status=FLAGGED to build a review inbox and read the session decision for the detail.

How do I get only the businesses that need an analyst?

Call GET https://verification.didit.me/v3/businesses/?status=FLAGGED with an x-api-key whose role grants list:businesses, follow the next URL until it is null, and then sort the results in your own code by last_activity_at and in_review_count. Our reference describes this endpoint as the way to drive an analyst queue.

Why is the count field only 100 when I have more businesses?

count is exact up to 100 and capped above that. It is not a total once you pass the cap, so never drive a progress bar from it. Pagination still works: keep following next until it returns null and count the rows you received if you need a true total.

Does the list endpoint support filtering and search, or not?

Our reference documents status, search, country and date filters with a pagination loop, while the OpenAPI description on the same route states that it does not support filtering or search parameters and that you should fetch pages and filter client side. Build defensively: send the filter, and if the answer comes back unfiltered, filter on status in your own code. Confirm on your own key before you depend on it.

What permission does the API key need to list businesses?

The key's role must grant list:businesses on the businesses resource. Without it the call answers 403 even when the key is valid. Owners have full access. Admins have management access to verification features, team members and application settings, but cannot manage roles. The built in Compliance Officer role covers business profiles, and a custom role needs the list action added in Settings, then Organization, then Roles and permissions.

Can I search for a business using my own customer identifier?

Yes, when you supplied it. Pass vendor_data as the search value; the search runs as a substring match over display name, legal name, registration number and vendor_data. Remember that vendor_data is a free form string you set when creating the session, not a UUID, and it is null when the originating session did not include one.

How do I keep the queue current without polling all day?

Subscribe to the KYB webhooks. business.status.updated fires when a linked business entity changes status, business.data.updated fires when its profile or counters change, and status.updated with session_kind equal to business covers progress inside a session. Register destinations at POST /v3/webhook/destinations/ with webhook_version set to v3, verify the X-Signature-V2 header, and de-duplicate on event_id.

What does the list call cost?

The price book has no published per-call price for reading the business list, so verify billing before estimating it as zero. You pay for the checks behind each business: registry retrieval from $2.00 per company as a starting price, priced by country and tier, company AML at $0.20, person AML at $0.20 per UBO or officer, KYB documents at $0.20 per step, and linked KYC at $0.33 per person.

Why do I get 403 when my key looks correct?

A 403 means the key is recognised but not allowed to do this: the role lacks list:businesses, or the key was used from an address outside its IP list. A 401 is different, and means the x-api-key header is missing, malformed, revoked or expired. Fix the role or the IP list for 403, and re issue the key for 401.

Can an API call approve or decline a flagged business?

Approving or declining is a reviewer action in the Business Console, where the analyst sees the registry data, key people, AML hits and documents and can request more documents before deciding. Your integration reads the outcome, it does not replace the reviewer. That separation is what keeps the audit trail clean.

Are deleted businesses returned by the list?

No. Deleted businesses are not returned, so an entity that disappears from your pages has usually been removed rather than lost. Check the Business Console before raising a support case, and key your own records on didit_internal_id so a deletion is visible as a missing row.

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.