Skip to main content

Identity Verification API in Colombia: How to Build It in 2026

Didit's identity verification API checks Colombian documents through a hosted session or a server-to-server call. A full check costs $0.33, and sandbox testing is free and unlimited, with no sales call.

Identity Verification API in Colombia: How to Build It in 2026

Contents

In this guide

Jump to the part you need.

If you are onboarding Colombian users from your own backend, Didit fits: the session API creates a verification session, the user photographs a cédula or passport in a hosted flow in Spanish, and you read a decision payload back. A completed full check costs $0.33. The caveat is that document coverage and registry coverage are different purchases, so confirm both before you launch.

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

Didit identity verification API for Colombia at a glance
ItemDetail
What you buildA KYC flow that verifies a Colombian document, runs liveness and face match, and returns a decision
Create a sessionPOST https://verification.didit.me/v3/session/
Read the decisionGET https://verification.didit.me/v3/session/{session_id}/decision/
Standalone document callPOST https://verification.didit.me/v3/id-verification/
Registry lookup callPOST https://verification.didit.me/v3/database-validation/
Price of a full check$0.33 = ID document $0.15 + passive liveness $0.10 + face match $0.05 + device and IP $0.03
Price of the standalone ID Verification API call$0.20 per check via the ID Verification API line
Colombian SMS code$0.0413 at list price (carrier plus the $0.02 Didit fee); WhatsApp $0.0409
SandboxFree on every plan. Sandbox testing is free and unlimited.
Free plan$10 of credit a month for organizations that sign up with a work email

Start free in the sandbox at business.didit.me, with no sales call. If you are wiring Didit into an AI assistant rather than an app, the setup lives at Didit MCP. Every price on this page is on didit.me/pricing, and the matching product page is ID Verification.

The outcome you should have at the end

A working Colombian onboarding path with five parts: a workflow that carries the checks you charge for, a session created per user from your backend, a hosted screen the user finishes in Spanish, a decision you can branch on, and a rule for what happens when the answer is not a clean approval.

  • A workflow UUID you control, not a hardcoded flow.
  • A session per person, bound to your own user ID through vendor_data.
  • A decision payload where each feature is a plural array: id_verifications[], liveness_checks[], face_matches[], aml_screenings[].
  • A named queue for sessions that end In Review.
  • A cost per 1,000 checks you can defend to finance.

Didit documents two ways to verify a person. Mode A is session-based: the checks run inside a workflow, the user completes them in a hosted flow or an SDK, and you fetch one decision for the whole journey. Mode B is a standalone server-to-server call that takes one or two document images and returns OCR plus authenticity checks.

For onboarding in Colombia, use Mode A. A workflow can combine document, biometric, AML and device checks, and the session returns one decision for the whole journey. Billing follows the configured checks and their published prices. Mode B is the right tool when you already hold images, for example when you re-check a document your own app captured or backfill an existing user base.

The $0.33 full check is the session route: the ID document step inside a workflow is $0.15, and the bundle adds passive liveness at $0.10, face match at $0.05 and device and IP analysis at $0.03. The standalone ID Verification API is a separate server-to-server line at $0.20 per check. Read the line you actually call on the pricing page.

Didit runs identity checks for 4,000+ companies and covers 220+ countries and 14,000+ document types, with the verification flow available in 54 languages, including Spanish. Document coverage is not the same as registry coverage: a document check reads and checks the physical document, while a database validation queries an authoritative source and is priced per service rather than per country.

Prerequisites

  • A Didit account created at business.didit.me, and an API key from the console sent as the x-api-key header.
  • A workflow created in the Business Console or with POST /v3/workflows/, carrying the ID_VERIFICATION feature (the legacy enum is OCR).
  • A backend that keeps the API key server side, creates the session and reads the decision. The key must hold the read:sessions privilege for the decision call.
  • Uncropped images if you use the standalone call: front_image always, back_image for dual-sided documents such as ID cards. Allowed formats are tiff, jpg, jpeg, png, webp and pdf, up to 5 MB each, with all four corners visible.
  • A callback URL on one of your application's allowed domains if you use the hosted redirect. Didit appends ?verificationSessionId={session_id}&status={status}.
  • Provide a privacy notice and confirm Colombian data-protection obligations with qualified local counsel, plus a place to record consent. If you already collected biometric consent, the session accepts a biometric_consent object with given_at and text_version so the flow does not ask twice.

Step by step: build the Colombian flow

  1. Create the workflow. In the Business Console, add an ID Verification step with passive liveness and face match, set the countries you accept to Colombia, and publish. The workflow UUID is what your code references when it creates a session.

  2. Create a session from your backend. Send the workflow UUID, your own user identifier as vendor_data, a callback and the language.

    curl -X POST 'https://verification.didit.me/v3/session/' \
    -H 'x-api-key: YOUR_API_KEY' \
    -H 'Content-Type: application/json' \
    -d '{
      "workflow_id": "YOUR_WORKFLOW_UUID",
      "vendor_data": "user-1234",
      "callback": "https://app.example.com/kyc/done",
      "language": "es"
    }'

    The response carries the session UUID and session_url. Two optional fields matter for Colombia: expected_details (first name, last name, date of birth, nationality, id country, expected document types) makes mismatches surface as decision warnings, and session_expiration_time sets how long the link stays valid, between 3600 and 2419200 seconds.

  3. Send the user to the flow. Open session_url in a browser or mount the Web or Mobile SDK. The user picks Colombia, photographs the document, takes a selfie for passive liveness and face match, and finishes. A hosted Didit flow looks like this:

    The hosted Didit verification flow a Colombian user sees: document capture, then a selfie for liveness and face match
    What the user sees on a phone in Colombia: document capture, then a selfie.
  4. Read the decision. Either poll the decision endpoint or subscribe to the session.status.updated webhook. Polling after the user returns is the simplest start.

    curl https://verification.didit.me/v3/session/SESSION_ID/decision/ \
    -H 'x-api-key: YOUR_API_KEY'

    The handler pattern in the docs branches on the kind of session first, then on status:

    const decision = await (await fetch(url, { headers: { "x-api-key": API_KEY } })).json();
    switch (decision.session_kind) {
      case "user": return handleUserDecision(decision);
      case "business": return handleBusinessDecision(decision);
    }
  5. Branch on the status, not on a boolean. Treat Approved as pass, In Review as a queue item that nobody is approved from automatically, and Declined as fail with the first terminal warning shown to the user in plain Spanish. Abandoned, Expired and Kyc Expired are not fraud verdicts, so send those users a new session rather than a rejection.

  6. Check the decision payload and the console view before you go live. The documented decision response carries the status, decision_trace, warnings and feature arrays, and the console view helps your support team inspect a session while you test.

    A Didit Business Console session overview showing the decision status and the warnings for one check
    The session overview in the console, including the warnings behind the status.

The standalone route when you already have the images

If your app captures the document itself, call ID Verification directly. This is the documented request, unchanged apart from your file paths and key:

curl -X POST 'https://verification.didit.me/v3/id-verification/' \
-H 'x-api-key: YOUR_API_KEY' \
-F 'front_image=@./id_front.jpg' \
-F 'back_image=@./id_back.jpg' \
-F 'perform_document_liveness=true' \
-F 'minimum_age=18' \
-F 'expiration_date_not_detected_action=DECLINE' \
-F 'invalid_mrz_action=DECLINE' \
-F 'inconsistent_data_action=DECLINE' \
-F 'preferred_characters=latin' \
-F 'save_api_request=true' \
-F 'vendor_data=user-123'

The three action fields decide whether a soft problem is a warning or a hard decline, so set them deliberately rather than inheriting defaults. preferred_characters=latin keeps extracted names in the alphabet your database expects.

The registry route for numbers, not documents

Database Validation checks typed identity data against the authoritative source named for that country, and Didit lists the Registraduría Nacional among the sources it reaches directly. The call takes a universal identification_number that Didit maps to the local identifier by issuing_state. The documented example uses Brazil; the shape is the same for any enabled country:

curl -X POST 'https://verification.didit.me/v3/database-validation/' \
-H 'x-api-key: $DIDIT_API_KEY' \
-F 'issuing_state=BRA' \
-F 'identification_number=00000000191' \
-F 'first_name=Jane' \
-F 'last_name=Doe' \
-F 'date_of_birth=1990-01-15' \
-F 'vendor_data=user-1234'

Read the per-service pricing table and the source column before you enable a country, because Database Validation is priced per service and some sources run under a consent flag that requires consent=true. A registry result is a match, not a document inspection, and it means something different to a regulator.

Expected output

Top-level decision fields are shared, but feature arrays differ by session_kind. User sessions expose KYC arrays such as id_verifications[], while business sessions expose KYB arrays such as registry_checks[]. A trimmed user decision looks like this:

{
  "session_id": "6f1c...",
  "session_kind": "user",
  "status": "Approved",
  "vendor_data": "user-1234",
  "id_verifications": [
    {
      "status": "Approved",
      "full_name": "...",
      "document_type": "...",
      "document_number": "...",
      "date_of_birth": "...",
      "expiration_date": "...",
      "warnings": []
    }
  ],
  "liveness_checks": [ ... ],
  "face_matches": [ ... ],
  "aml_screenings": [ ... ],
  "biometric_retention": { "jurisdictions": [ ... ], "deletes_at": "..." }
}

If a feature did not run, its array is absent or null, never a placeholder. biometric_retention tells you the date the session's live biometric data is deleted, which is the field your Colombian retention policy should read.

The ID document panel of a Didit session showing the extracted fields and the authenticity result
The document panel behind an id_verifications[] entry, with the extracted fields.

Inputs and outputs

Inputs you send
FieldWhereRequiredWhat it does
workflow_idCreate sessionYesThe UUID of the published workflow; its type decides KYC or KYB
vendor_dataCreate sessionRecommendedYour stable user identifier, also used for duplicate detection across sessions
callbackCreate sessionNoWhere the hosted flow redirects; must be on an allowed domain
languageCreate sessionNoISO 639-1 UI language, for example es; otherwise browser detection
expected_detailsCreate sessionNoNames, date of birth, nationality, id country, document types; mismatches become warnings
front_image, back_imageID verification callFront yes, back for dual-sidedThe document images, uncropped, up to 5 MB each
perform_document_livenessID verification callNoRuns the forgery and screen-replay check on the document
issuing_state, identification_numberDatabase validation callYesThe country and the identifier Didit maps to the local number format
Outputs you read
FieldMeaning
statusApproved, Declined, In Review, In Progress, Not Started, Expired, Abandoned, Kyc Expired, Resubmitted, Awaiting User
session_kinduser or business; always branch on this first
id_verifications[]One entry per document, with extracted fields, mrz, barcodes, portrait_image and warnings[]
face_matches[]The 1:1 comparison between the live capture and the document or registry portrait
database_validations[]Per-field match, aggregated match_type and the services used
decision_traceHow the status was reached: automatic, manual or investigator, with warning counts

Failure cases and how to recover

  • HTTP 403, not enough credits. The balance is empty. Top up or turn on auto top-up; the sandbox keeps working either way.
  • HTTP 400 on multipart. Missing back_image on a dual-sided document, a file over 5 MB, or an unsupported extension. Reject it client side before you spend a call.
  • HTTP 400 on callback. The URL is not on one of your allowed domains. The error names the allowed origin; custom app deep links are always accepted.
  • Declined with a terminal warning. Codes such as DOCUMENT_EXPIRED, DOCUMENT_LIVENESS_FAILED or COULD_NOT_RECOGNIZE_DOCUMENT end the flow. Show the first warning's long description in Spanish and stop.
  • In Review with DOCUMENT_LIVENESS_NOT_COMPUTED. The forgery check returned no usable score, so the document is unchecked. Route it to review rather than approving.
  • In Review for any other reason. Send it to your manual queue. Do not approve the user from an automatic path.
  • FACE_MATCH_NOT_COMPUTED. The comparison could not be computed and the score is null. Treat it as review, not as a fail.
  • Database validation HTTP 502 with validation_errors[]. Every selected upstream service failed, the request is not billed, and a log is written. Retry later or fall back to the document check.
  • match_type of no_match or partial_match. A number that is not in the registry is the synthetic-identity signal; a partial match goes to review under your policy.
  • HTTP 401 or 404 on the decision call. A 401 is a bad key, a 404 means the session does not exist or belongs to another application. Neither is a verification result.

You pay for a check when it finishes with a result, from prepaid credit. The steps that bill are the ones in the price book: ID document $0.15, passive liveness $0.10, face match $0.05, device and IP analysis $0.03, AML screening $0.20, proof of address $0.20, document AI $0.20, NFC chip reading $0.15 as an add-on, and a phone code at the carrier price for Colombia plus the $0.02 Didit fee. Database Validation is priced per service, and some no-match lookups and retries are billable, which the docs pricing page lists explicitly.

The review boundary is set in the configured workflow outcomes: decide which outcomes route to manual review, and which warning codes your automatic rules accept. A session that ends In Review is not approved automatically. Route it to your own queue, or use the Investigator agent that the Growth plan includes; check the live pricing page for current review pricing.

Worked cost example

Take a Colombian consumer app with 10,000 completed onboardings a month. Each one runs the full check, so document, biometrics and device in one line:

  • 10,000 x $0.33 = $3,300.00 for the full checks.
  • You screen 20% of new users for AML at onboarding: 2,000 x $0.20 = $400.00.
  • Every user verifies a phone number by SMS to Colombia at list price: 10,000 x $0.0413 = $413.00.
  • Total: $3,300.00 + $400.00 + $413.00 = $4,113.00 a month.

On the Free plan the first $10 of that is credit, which buys about 30 full checks at $0.33 each, so it is a testing allowance rather than a production budget. On Growth the same unit prices carry a 4% discount and the $99 monthly fee includes $115 of credit; on Scale the discount is 10% and the $299 fee includes $350 of credit. Enterprise starts at $15,000 a year. Re-price the mix on the pricing page before you commit, because the mix, not the volume, drives the bill.

Colombia-specific notes

For any dual-sided document, the standalone call needs back_image, and barcode output is returned when the document contains a barcode. Set minimum_age if the product is age restricted, and keep expiration_date_not_detected_action at DECLINE only if you can accept the false negatives that come with worn documents.

On data protection, Law 1581 of 2012 governs how you collect and keep personal data in Colombia. The decision payload's biometric_retention object reports when live biometric data is deleted, which is the field to reconcile against your own retention schedule. Didit holds SOC 2 Type 2 and ISO/IEC 27001:2022, is GDPR-native, and lists support for DORA, MiCA, AMLD6 and eIDAS 2.0, so your vendor review has documents to read.

On AML, Didit screens against 1,300+ lists at $0.20 per check and monitors continuously at $0.07 per person per year. Screening can run inside the same session as the identity check, so one decision covers both. Your compliance team should map the flow to the FATF recommendations and to the local requirements that apply to you, with local counsel.

Sources

Next step: create a free organization at business.didit.me, publish a workflow with ID Verification, and run your own Colombian documents through the sandbox. No sales call, and sandbox testing is free and unlimited.

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

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Frequently asked questions

What is the Didit identity verification API for Colombia and what does it cost?

It is a REST API that creates a verification session for a person, runs document checks, passive liveness, face match and device analysis, and returns one decision. A completed full check costs $0.33, made up of $0.15 for the document, $0.10 for passive liveness, $0.05 for face match and $0.03 for device and IP analysis. Sandbox testing is free and unlimited, and no sales call is required.

How do I verify a Colombian cédula through an API?

Create a session with POST /v3/session/, open the returned session_url, and the user photographs the document (front and back when it is dual-sided) plus a selfie. Then read GET /v3/session/{session_id}/decision/ and check id_verifications[].status and warnings[]. If you already hold the images, call POST /v3/id-verification/ with front_image, plus back_image for dual-sided documents.

Does Didit check a Colombian ID number against a government registry?

Database Validation queries the authoritative source named for each country, and Didit lists the Registraduría Nacional among the sources it reaches directly. The call is POST /v3/database-validation/ with issuing_state and identification_number. Database Validation is priced per service and not per country, so read the per-service rate before you enable it.

What is the difference between a document check and a database validation?

A document check reads the document and checks document authenticity. A database validation compares typed identity data against a record held by an authoritative source. A document check and a database validation answer different questions. Configure both only when your policy and the enabled country service require them.

How long does it take to integrate the API?

Sign up at business.didit.me, take an API key from the console and call POST /v3/session/. Sandbox testing is free and unlimited, so you can run the full path before you spend credit. Didit publishes an integration prompt at didit.me/developers/integration-prompt that a coding agent can follow end to end.

How do I receive results, by webhook or by polling?

Both work. Subscribe to the session.status.updated webhook for real time, or poll GET /v3/session/{session_id}/decision/ after the user returns. Webhooks are HMAC-SHA256 signed, and the decision payload is identical either way.

What happens when a verification comes back In Review?

In Review means the check finished without a clean approval, for example when a forgery score could not be computed. The user is not approved and should not be approved by an automatic rule. Send the session to your manual queue or use Didit's Investigator agent, which the Growth plan includes.

How much does an SMS verification code to Colombia cost?

An SMS code to Colombia costs $0.0413 at list price, which is the carrier price plus Didit's $0.02 fee. WhatsApp is $0.0409, Telegram $0.05 and Viber $0.0477. Phone verification codes are excluded from Free plan credit, so you need a paid plan or a top-up before you send one.

Is Didit suitable for a Colombian fintech under local data protection rules?

Didit holds SOC 2 Type 2 and ISO/IEC 27001:2022 certification, is GDPR-native, and the decision payload reports when live biometric data is deleted. Colombian collection and retention still sit with you under Law 1581 of 2012, so map the payload's retention fields to your own schedule. The sandbox lets your security team test before any contract.

Can I switch to Didit from my current provider without a rebuild?

If your app already calls a verification API, you replace the client calls with POST /v3/session/ and the decision fetch, and map your statuses to the Didit status enum. Didit publishes a migration path at didit.me/switch. Start in the sandbox, run your own document samples through it, and compare the warning codes against what you see today.

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.