Skip to main content

HubSpot identity verification with Didit: 2026 integration guide

Our documentation lists no native HubSpot connector. The documented route uses the Didit session API and a signed webhook, with your integration writing the status to HubSpot. Full KYC is $0.33 per check and the sandbox is free.

HubSpot identity verification with Didit: 2026 integration guide

Contents

In this guide

Jump to the part you need.

If your onboarding runs in HubSpot and you want the identity check result on the contact record, this guide fits your team. A full KYC check costs $0.33 at list price and the sandbox is free. Our documentation lists no native HubSpot connector. The documented route uses the Didit session API and a signed webhook, with your integration writing the status to HubSpot.

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

Didit MCP setup

The short answer

Didit and HubSpot at a glance
QuestionAnswer
Is there a Didit app inside HubSpot?Our documentation lists no native HubSpot connector. The documented route uses the Didit session API and a signed webhook, with your integration writing the status to HubSpot.
Route for a developerCreate a session, send the contact to the hosted flow, write the status from the signed webhook.
Route for an ops teamOur Zapier app can create sessions and react to status changes. Confirm that your Zapier setup has the HubSpot trigger and update action you need.
Build aid for an AI assistantMCP can assist the build alongside the API setup and follow the documented integration prompt. The HubSpot write remains in your integration.
Didit price per check$0.33 full KYC at list price, $0.3168 on Growth, $0.297 on Scale.
SandboxThe sandbox is free on every plan.
HubSpot costThis guide covers Didit costs. Check the terms of your HubSpot subscription and any Zapier plan separately.
Webhook delivery and retriesIf the endpoint takes longer than 5 seconds or returns 5xx or 404, we retry twice, after about 1 and 4 minutes. If both retries fail, resend from the destination delivery log. If the CRM status is missing or stale, run the decision read and status write as one serialized step per contact: read the contact's current session ID, fetch that session's current decision, and write the returned status only if the contact still points to that session and the value differs.

What connects, and what does not

HubSpot holds the person as a contact and the business as a company record. Didit holds the verification: a session, a decision and a set of feature results. Our documentation lists no native HubSpot connector. The documented route uses the Didit session API and a signed webhook, with your integration writing the status to HubSpot. What exists is an open API with a published OpenAPI contract, a hosted verification flow, signed webhooks, an MCP server and five SDKs. We serve 4,000+ companies. Our verification coverage spans 220+ countries and territories, and the same session endpoint covers people and businesses.

That leaves two runtime routes. Pick one before you write code. MCP is a build aid for the API setup, not a runtime route.

Routes for the HubSpot build
RouteWho it fitsWhat you buildSupport status
API plus webhookA developer who owns the onboarding flowA session call, a webhook endpoint and a property write into HubSpotDocumented. No connector needed.
ZapierAn operations team that wants to avoid codeOur Zapier app can create sessions and react to status changes. Confirm that your Zapier setup has the HubSpot trigger and update action you need.Documented generic Zapier app. Confirm the HubSpot steps in your Zapier setup.

Route A: API plus webhook

This is the route we recommend for production. The contact record ID travels as vendor_data, the decision comes back on a webhook signed with X-Signature-V2, and your handler writes the status onto a contact property. It covers review queues, resubmissions and expired documents because every status change produces an event you can act on inside HubSpot.

Route B: Zapier

Our Zapier app can create sessions and react to status changes. Confirm that your Zapier setup has the HubSpot trigger and update action you need. It is the right choice when nobody on the team wants to run an endpoint. One honest limit: the Zapier app is documented as a generic integration, not as a HubSpot-specific connector, so check the HubSpot steps in your own Zapier setup before you plan the flow around them.

Build aid: MCP assistance

The MCP server is hosted at https://mcp.didit.me/mcp with OAuth sign-in and costs nothing on any plan. Use it alongside the API setup to assist the build, and use the documented integration prompt to give a coding agent the full recipe. It does not write to HubSpot by itself, so the API plus webhook path still supplies the CRM write.

Cover of the Use Didit with MCP lesson
The MCP setup can assist the build. The HubSpot write still happens in your integration.

Prerequisites

What you need before the first session
RequirementDetail
Didit planThe first organization created in the console with an eligible company work email gets $10 in monthly Free plan credit. Growth is $99 a month with $115 of credit and 4% off every Didit price. Scale is $299 a month with $350 of credit and 10% off every Didit price. Enterprise starts at $15,000 a year.
Organization and API keyCreate the organization at business.didit.me, open its sandbox application and use that application key. If you sign up programmatically, call POST https://apx.didit.me/auth/v2/programmatic/register/ then POST https://apx.didit.me/auth/v2/programmatic/verify-email/ with the 6-character code, and read response.sandbox_application.api_key and response.application.api_key from the verified response. For production, use the live application key, workflow and destination once it has credit.
A published workflowA workflow of type kyc or kyb. Sessions are always created with POST /v3/session/. There is no separate endpoint for the business case.
An HTTPS endpoint you controlIt must answer within 5 seconds with a 2xx after your handler has accepted the update. Didit signs every delivery, so keep the raw body until the signature check passes.
A webhook destinationCreated with label, url, subscribed_events and webhook_version set to v3. Save the returned secret_shared_key.
Key privilegesThe decision read requires the read:sessions privilege on the key.
HubSpot sidedidit_session_id and didit_status are suggested custom properties. Confirm who can create and update them in your HubSpot setup. Decide your onboarding trigger and how your integration sends the HTTP request. That trigger is an implementation choice.

How to build a HubSpot KYC workflow with Didit

The trace is simple: one test contact enters onboarding, your integration creates a Didit session with the contact record ID as vendor_data, redirects the browser to the hosted flow, receives a verified status event and writes the exact status to the contact. The browser redirect returns the visitor to your app, while a verified webhook or authenticated decision read supplies the status used for CRM actions.

  1. Build the workflow. Sign in at business.didit.me, open Workflows in the sidebar and click New workflow. Choose Verifying users, then Start from a template and pick the KYC template, or start empty and add the checks one at a time. The same thing exists as a call if you prefer to keep it in code. This example configures ID verification, passive liveness, face match and AML:

    curl -X POST https://verification.didit.me/v3/workflows/ -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" -d '{"workflow_label": "HubSpot onboarding KYC", "workflow_type": "kyc", "features": [{"feature": "OCR"}, {"feature": "LIVENESS", "config": {"face_liveness_method": "PASSIVE"}}, {"feature": "FACE_MATCH"}, {"feature": "AML"}]}'

    Keep the workflow.id from the response. This example configures ID verification, passive liveness, face match and AML. The $0.33 price is the four-component full check: ID document, passive liveness, face match, and device and IP analysis. $0.53 is the list price when AML is added to that full check. Confirm that device and IP analysis is enabled in the published workflow before using the $0.53 full KYC plus AML estimate. A KYC workflow creates user sessions and a KYB workflow creates business sessions.

  2. Register the destination Didit will call. Point it at the endpoint that will write into HubSpot. label and url are required, and there is no wildcard in subscribed_events:

    curl -X POST https://verification.didit.me/v3/webhook/destinations/ -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" -d '{"label": "HubSpot sync", "url": "https://myapp.com/api/webhooks/didit", "subscribed_events": ["status.updated"], "webhook_version": "v3"}'

    Save the returned secret_shared_key as DIDIT_WEBHOOK_SECRET. GET /v3/webhook/destinations/{destination_uuid}/ returns it again if you lose it.

  3. Create a session for the contact. When the contact enters onboarding, create a session and redirect the browser to the returned url, or open it in an SDK. Send the HubSpot contact record ID as vendor_data: it binds the session to the person and is used for duplicate detection across sessions. metadata is echoed back in webhooks and never shown to the person. Replace WORKFLOW_UUID_HERE with the workflow UUID from the matching application before running the command.

    curl -X POST https://verification.didit.me/v3/session/ -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" -d '{"workflow_id": "WORKFLOW_UUID_HERE", "vendor_data": "hubspot-contact-1234567", "callback": "https://myapp.com/kyc/return", "metadata": {"onboarding_source": "hubspot"}, "tags": ["HUBSPOT", "ONBOARDING_Q4"], "contact_details": {"email": "person@example.com"}}'

    The response contains session_id, url and session_token. Store the session_id on the contact as didit_session_id so you can read the decision later. Tags are optional, up to 10 of them, 50 characters each, and they come back in the create response and in the console filters.

    The hosted Didit verification screen a contact sees after the redirect
    The hosted flow handles document capture, liveness and the return redirect. You pass the URL and nothing else.
  4. Verify the signature before you trust the payload. Read the raw body before middleware rewrites it. Parse it as untrusted data to produce the sorted, Unicode-preserved canonical JSON. Check that X-Timestamp is within five minutes, then verify the HMAC in constant time before acting on any field. Use the current secret for X-Signature-V2 and the previous secret for X-Signature-V2-Previous for the 24 hours after a signing secret rotation. De-duplicate on event_id.

    {
      "event_id": "uuid",
      "session_id": "uuid",
      "status": "Approved",
      "webhook_type": "status.updated",
      "environment": "live",
      "sandbox_scenario": null,
      "workflow_id": "uuid",
      "vendor_data": "hubspot-contact-1234567",
      "metadata": {"onboarding_source": "hubspot"},
      "decision": { }
    }

    The decision object is only present on Approved, Declined, In Review and Abandoned. A session can produce more than one status event. De-duplicate on event_id, then serialize the decision read and the status write per contact: read the contact's current session ID, fetch that session's current decision, and write the returned status only if the contact still points to that session and the value differs. Until that sequence finishes for a contact, no other handler writes to it.

  5. Write the decision onto the contact. Use vendor_data and session_id from the verified session status event to match the CRM record and its current Didit session. Use session_kind to branch when reading the decision response. status is an exact, case-sensitive string, so match with strict equality. The valid values are Not Started, In Progress, Approved, Declined, In Review, Awaiting User, Resubmitted, Expired, Abandoned and Kyc Expired, and the last one uses a single capital K. Feature results are plural arrays in V3 (id_verifications[], liveness_checks[], face_matches[], aml_screenings[]), so never assume the singular V2 fields. Serialize the decision read and the status write per contact, so two handlers cannot interleave on the same record. Within that sequence, read the contact's current session ID, fetch that session's current decision, and write the returned status only if the contact still points to that session and the value differs. A retried delivery then does not set off your own HubSpot workflow twice.

  6. Add the fallback read. If a delivery is dropped or your endpoint was down, read the decision directly and repair the contact:

    curl https://verification.didit.me/v3/session/$SESSION_ID/decision/ -H "x-api-key: $DIDIT_API_KEY"

    A 404 means the session does not exist or belongs to a different application, a 403 means the key lacks read:sessions, and a 401 means the key is invalid. For a missing or stale status, run the fallback repair through the same serialized sequence: read the contact's current session ID, call the decision endpoint with it, and write the returned status only if the contact still points to that session and the value differs. Changing the stored session ID happens inside that same sequence.

  7. Go live. Use the live application key, workflow and destination once the organization has credit. Register the production webhook destination with the same event list. Confirm that your endpoint answers 2xx within 5 seconds after accepting the update, that duplicate event_id values are ignored, and that a resend from the destination delivery log still produces one contact update and not two.

Field and event mapping

didit_session_id and didit_status are suggested custom properties. Confirm who can create and update them in your HubSpot setup. Keep the mapping thin: the default mapping is the contact ID, the current session ID and the exact session status.

Didit field to HubSpot property
Didit fieldWhere it comes fromHubSpot propertyNote
vendor_dataYou set it on createHubSpot contact record ID, used to match, not a propertyBinds the session to one person and drives duplicate detection
session_idResponse of POST /v3/session/didit_session_id, a suggested custom propertyThe join key for every later read and the current session check
statusWebhook status event and decisiondidit_status, a suggested custom propertyExact case-sensitive strings, never a free-text label
Document data for one session in the Didit Business Console
Review document results in the Didit console. The CRM contact can store the session ID and status.
Webhook event and what to do in HubSpot
EventFires whenExample HubSpot action your team can configure
status.updatedA user or business session changes statusWrite didit_status, then branch on it inside a HubSpot workflow

KYB and entity events are an optional extension. If you need business.status.updated or user.status.updated, add a separate destination after the contact status path works, and confirm the fields your team needs. Keep the default contact status path on status.updated.

Example CRM actions your team can configure
StatusExample CRM action
ApprovedMark the KYC status approved and allow onboarding to continue.
In ReviewSend the contact to the compliance queue and pause automated approval.
DeclinedSet the status to declined and route to support or a resubmission path.
Expired or AbandonedMark the check incomplete and trigger a new session when policy allows.
A session overview with its warnings in the Didit Business Console
Open the session in the Didit Console to review its warnings. The HubSpot contact stores the current session ID and status.

Test with sandbox data first

The sandbox is free on every plan. Create the session with your sandbox application key, then reproduce the outcomes your HubSpot workflow has to handle. The scenario slug goes on create, or you can arm it afterwards while the session is still Not Started. Replace WORKFLOW_UUID_HERE with the workflow UUID from the matching application before running the command.

curl -X POST https://verification.didit.me/v3/session/ -H "x-api-key: $DIDIT_SANDBOX_KEY" -H "Content-Type: application/json" -d '{"workflow_id": "WORKFLOW_UUID_HERE", "vendor_data": "hubspot-contact-1234567", "sandbox_scenario": "decline_aml_hit"}'

# list the available scenario slugs
curl https://verification.didit.me/v1/sandbox/scenarios/ -H "x-api-key: $DIDIT_SANDBOX_KEY"

Scenarios are rejected with a 400 on live applications. Use environment to distinguish sandbox from live. Use sandbox_scenario to identify the armed scenario when present.

For the example shown, expect Declined. Check that the matching test contact receives Declined and that replaying the same event ID makes no second write. For an approval test, list the documented sandbox catalog with GET /v1/sandbox/scenarios/, choose an approval scenario, and pass its slug as sandbox_scenario in a separate session. Then expect one write for the transition to Approved and zero additional writes when you replay that event. Earlier transitions can produce their own updates.

Error cases and fixes

Error cases and fixes
SymptomCauseFix
403 with the detail You do not have permission to perform this action on verification.didit.meA missing x-api-key header or insufficient privileges can return 403Check that the x-api-key header is present. For a decision read, confirm the key has read:sessions.
401 on any verification callThe key is invalid, revoked or expiredIssue a new key and redeploy the secret
400 on session createInvalid workflow_idRe-read the workflow ID and confirm it belongs to the same application as the key
400 naming the callback fieldAn HTTP or HTTPS callback does not match an allowed origin exactly, including scheme, host and portUse an allowed origin, or use a custom URL scheme such as an app deep link
404 on the decision readThe session does not exist or belongs to a different applicationStore session_id from the create response, do not rebuild it
Contact never updatesYour endpoint took longer than 5 seconds, or answered 5xx or 404Verify and deduplicate the event before applying it. Serialize the decision read and status write per contact: read the contact's current session ID, fetch its current decision, and write the returned status only if the contact still points to that session and the value differs. Acknowledge within 5 seconds once your handler has accepted the update. If the CRM status is missing or stale, run the same serialized repair, including changes to the stored session ID. If both retries fail, resend from the destination delivery log.
Contact updated twiceA retried delivery produced a second writeDe-duplicate on event_id, and serialize the decision read and status write per contact. Read the contact's current session ID, fetch its current decision, and write the returned status only if the contact still points to that session and the value differs.

Disconnecting

Stop creating sessions from this integration, remove its webhook destination, and retire its dedicated API key. If another integration shares that key, move it to a replacement first. Keep existing CRM properties until your team applies its retention policy. Review evidence retention in Didit separately.

Didit costs for a HubSpot KYC workflow

On the Didit end you pay per completed check from prepaid credit. A full ID check is $0.33 and it is itemised: ID document verification $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. Adding AML screening takes it to $0.53. Growth takes 4% off the full KYC list price and Scale takes 10% off. Business verification is priced by country and data tier from $2.00 per company, plus $0.20 person AML per owner or officer and $0.33 for the linked KYC on each of them. The sandbox is free, the workflow orchestrator is free and the MCP server is free.

This worked example covers Didit costs only. Check the terms of your HubSpot subscription and any Zapier plan separately.

A worked example, 1,500 full KYC checks in one month:

  • List price: 1,500 × $0.33 = $495.00.
  • On Growth: 1,500 × $0.3168 = $475.20. The $115.00 monthly credit covers $115.00, and $360.20 is usage paid from top-up credit. Including the $99 monthly fee, Growth totals $459.20 before tax for this example, $25.80 less than eligible Free.
  • On an eligible Free organization using the entire $10.00 of monthly credit: 1,500 × $0.33 = $495.00. The $10.00 monthly credit covers $10.00, and $485.00 is usage paid from top-up credit. There is no plan fee.
  • With AML on every check: $0.33 + $0.20 = $0.53, so 1,500 × $0.53 = $795.00 at list price before any plan discount.

Sources

Start in the sandbox, with no sales call: create an organization at business.didit.me, use its sandbox application key, create one test session for a test contact, complete it, and check that the contact shows the expected status.

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

Is there a native HubSpot integration for Didit?

Our documentation lists no native HubSpot connector. The documented route uses the Didit session API and a signed webhook, with your integration writing the status to HubSpot. Our Zapier app can create sessions and react to status changes. Confirm that your Zapier setup has the HubSpot trigger and update action you need.

How much does Didit cost per HubSpot contact I verify?

A full KYC check is $0.33 at list price: $0.15 for the ID document, $0.10 for passive liveness, $0.05 for face match and $0.03 for device and IP analysis. Growth brings it to $0.3168 and Scale to $0.297. You pay only when a check finishes with a result, and the sandbox is free on every plan.

Which Didit statuses will I see on a contact?

For a contact, the exact strings are Not Started, In Progress, Approved, Declined, In Review, Resubmitted, Expired, Abandoned and Kyc Expired. Store them as they are rather than translating them into your own labels, because your matching logic and the API both depend on the exact value. Kyc Expired means a previously approved session whose document passed its expiry date. Awaiting User applies to KYB business sessions and is covered in the company answer.

How do I link a Didit session to the right HubSpot contact?

Send the contact record ID as vendor_data when you create the session. vendor_data identifies the CRM contact and session_id identifies its current verification. Keep the returned session_id on the contact too, since the decision read needs it. The mapping does not use metadata.

What happens if my webhook endpoint is down or slow?

If the endpoint takes longer than 5 seconds or returns 5xx or 404, we retry twice, after about 1 and 4 minutes. If both retries fail, resend from the destination delivery log. If the CRM status is missing or stale, repair it through one serialized step per contact: read the contact's current session ID, fetch its current decision, and write the returned status only if the contact still points to that session and the value differs. Serializing the read and the write, including changes to the stored session ID, keeps a slower handler from overwriting a newer status.

Can I verify HubSpot company records, not just contacts?

Yes. Use a workflow of type kyb and the same session endpoint, and pass company_name, registry_country and registration_number in expected_details to pre-fill the registry search. The decision returns session_kind as business. Read registry_checks and key_people_checks when the workflow ran the corresponding steps and the arrays are present. A KYB parent session can show Awaiting User while key people finish their child sessions. Pricing starts at $2.00 per company plus the linked KYC and person AML for owners and officers.

Can I test my HubSpot KYC workflow for free?

Yes. The sandbox is free on every plan. Create a sandbox application, use its key, and reproduce the outcomes your HubSpot workflow has to handle. Use decline_aml_hit to test a decline with AML enabled. Check GET /v1/sandbox/scenarios/ for other available outcomes.

How do I check that a webhook really came from Didit?

Read the raw body before middleware rewrites it. Parse it as untrusted data to produce the sorted, Unicode-preserved canonical JSON. Check that X-Timestamp is within five minutes, then verify the HMAC in constant time before acting on any field. Use the current secret for X-Signature-V2 and the previous secret for X-Signature-V2-Previous for the 24 hours after a signing secret rotation.

Do I need a sales call or a contract to start?

No. You can create an organization at business.didit.me, use its sandbox application key and run the whole flow before you speak to anyone. The first organization created in the console with an eligible company work email gets $10 in monthly Free plan credit. Enterprise contracts only start to matter from $15,000 a year.

Can an AI assistant build this integration for me?

The MCP server can assist the build, and the documented integration prompt gives a coding agent a recipe. The HubSpot write still needs an endpoint you own. Start with the Didit MCP setup and the integration prompt.

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.