IDCanopy Developers
IDCanopy API

Workflows integration

The hosted journey contract: the journey request, the launch URL, the status read and the signed callback.

IDCanopy Workflows & UI runs a journey that you configure with us. Your backend creates the journey with the same credentials as every other IDCanopy API call; your frontend opens the launch URL that comes back; the outcome reaches your backend by a signed callback, or by a status read.

The journey is created, and its status read, on the IDCanopy API base URL, so the paths below are relative to that base URL and use its bearer token. The one hosted address in your integration is the launch URL we return: open it as it was returned, and do not build one from the API base URL.

Hosted or embedded journey
Hosted or embedded journeyUser / browser to Your backend: Start a journey. Your backend to IDCanopy journey: Create the journey. IDCanopy journey to Your backend: Return uiHandle. Your backend to User / browser: Provide the launch URL. User / browser to IDCanopy journey: Complete hosted or embedded steps. IDCanopy journey to Your backend: Deliver the journey result by webhookUser / browserYour backendIDCanopy journey1. Start a journey2. Create the journey3. Return uiHandle4. Provide the launch URL5. Complete hosted or embedded steps6. Deliver the journey result by webhook

Conceptual sequence. The browser hosts the interaction; your backend creates the journey with its bearer token and verifies result delivery.

1. Authenticate

Authenticate as for every other IDCanopy API call: Authentication has the exchange that turns your API key into a bearer token. Send it as Authorization: Bearer <access_token> on the calls below, and keep it on your server: never send it to your browser page.

2. Create the journey

POST /sdk/universal/handshake, with Authorization: Bearer <access_token>.

Request

A field a step needs reaches it from three places: this handshake, an intake screen that asks the end user for it, or a step that ran earlier in the journey. Leave out what a step can obtain another way.

FieldRequiredTypeWhat it does
journey.customerIdYesstringYour account identifier. It must equal the account the bearer token belongs to, otherwise 401.
journey.processNameYesstringYour name for this journey, 1 to 200 characters, returned by the status read. Leave out steps to run the journey predefined for your account under this name; a name with no active predefined process for your account is a 400 naming journey.processName. With a predefined process, the journey.language and journey.errorTexts you send take precedence over the defaults stored with the process, and error texts combine per code and language.
journey.languageNostringThe language of the journey, as a BCP 47 tag: de, en, bg. Any valid tag is accepted and stored in its canonical form, so de-at is stored as de-AT; a malformed tag is a 400. It selects the language of every screen and of the display text an error carries. English when omitted.
journey.errorTextsNoobjectYour own display texts for journey errors, keyed by error code and then by language. The step catalogue documents the codes, the lookup order, the limits and the shape.
stepsNoarray, up to 10 stepsThe steps of the journey. The numeric id decides the order they run, not their position in this array. Leave it out to run the predefined process for your account.
steps[].idYeswhole number from 1 to 1000, as a stringYour identifier for the step, "1", "2". Steps run in ascending numeric order, so number them from "1". "1" is the only spelling of the first step: no leading zero, no sign, no surrounding space. A duplicate, non-numeric, out-of-range or non-canonical id is refused.
steps[].typeYesstringThe step's type, from the step catalogue in section 3. A type the journey does not know is refused.
steps[].configurationNoobject, or nullConfiguration for that step type. When you send it, it must be an object or null; send {}, null, or leave it out when the step reads none.
validationData.fullNameConditionalstringThe subject's full name, Jane Doe. Read by the document step, by screening and by the address step.
validationData.DOBConditionalstringDate of birth as YYYY/MM/DD. We convert it to YYYY-MM-DD when a verification service needs a date of birth.
validationData.addressConditionalobjectstreetAddress, locality, region, postalCode, and country as ISO 2. Read by the address step. One of them has to be filled in.
validationData.mobileNumberNostringCarried with the journey and read only when we build the callback: it fills journeySummary.authoritativeDataSubject.mobileNumber when the identity document did not supply a mobile number. No step reads it, so it changes nothing that runs.
passThroughDataNoobjectOpaque data of yours. The whole object comes back in the callback; the status read does not carry it. passThroughData.userId is used twice: as a reference id in the request the screening and address steps send to their verification service, and, in the document step only, as the fallback name when there is no full name.
validationData.iban, validationData.phoneNumber, validationData.unstructuredInputNostringCarried with the journey. No step reads them.
steps[].interfaceAccepted, no effectstringStored with the step and never read.
steps[].blockingAccepted, no effectbooleanStored with the step and never read.
matchName, matchDob, magicFlow, validitySuperpower, journeyDurationAccepted, no effectCarried into the journey and never read. validitySuperpower in particular does not extend the launch token lifetime.

A journey you define with steps is validated before anything is stored, so a refused request leaves no journey behind. It is refused, with 400, when steps is sent but empty or longer than 10; a step type that is not in the catalogue in section 3, or no type at all; a step id that is missing, not a whole number from 1 to 1000, not written in canonical form, or repeated; a configuration that is not a plain object and not null; a countries value that is present but blank; an amlScreening step with no earlier photoIdent step and no name, date of birth or country; or an addressVerify step with no earlier photoIdent step and no name, date of birth or address. A step is earlier than another when its numeric id is lower, wherever it sits in the array.

Creation checks the request shape, and it checks what a step needs when no earlier identity step could supply it. That is a weaker check than the one a step makes when it runs. The address step, for example, needs the subject's name and date of birth and an address it can map in every case: with a document step earlier in the journey, creation accepts a request that supplies none of the three, and the address step then fails at run time if the document step did not supply them. For an address-only journey, supply validationData.fullName, validationData.DOB and a filled-in validationData.address when you create it.

A 400 carries a message. When creation was refused field by field, it also carries an errors array, each entry naming a path to the field:

{
  "message": "Invalid handshake request",
  "errors": [
    { "field": "steps[0].type", "message": "unsupported step type \"creditCheck\" (supported: photoIdent, amlScreening, addressVerify)" },
    { "field": "steps[1].id", "message": "duplicate step id \"1\"" }
  ]
}

Not every 400 is that detailed: a request with an empty body is refused with an error only and no errors array.

Response

201 with three fields:

{
  "transactionId": "9e0f2b41-6b28-4d19-9e0e-9e1b0f0c2a53",
  "uiHandle": "<the launch URL we issue>",
  "initTimestamp": "2026-11-30T19:35:07.514Z"
}
FieldMeaning
transactionIdThe journey's reference. Keep it on your server: you need it to read the status, and it arrives again in the callback.
uiHandleThe launch URL. It is opaque, it carries a token in its query string, and it is the only thing your browser page needs. Open it as returned.
initTimestampWhen we began handling the request, ISO 8601.

One complete request with synthetic data:

curl --fail-with-body -X POST "$UMBRELLA_BASE_URL/sdk/universal/handshake" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "journey": { "customerId": "example-customer", "processName": "customer-onboarding" },
    "steps": [
      { "id": "1", "type": "photoIdent", "configuration": { "docOnly": true } },
      { "id": "2", "type": "amlScreening", "configuration": { "countries": "DE" } }
    ],
    "validationData": {
      "fullName": "Jane Doe",
      "DOB": "1990/01/01",
      "address": {
        "streetAddress": "Beispielgasse 1",
        "locality": "Wien",
        "postalCode": "1010",
        "country": "AT"
      }
    },
    "passThroughData": { "userId": "example-user-1" }
  }'

Errors: 400 for the cases listed above, and for a missing journey.customerId or journey.processName; 401 when the bearer token is missing, unknown or expired, in which case authenticate again and send the same request again, and also when journey.customerId is not the account the token belongs to; 403 when the account is not enabled for hosted journeys; 500 on a server error; 502 when the journey service cannot be reached, in which case retry later with the same request.

3. The step catalogue

A journey is a configurable sequence of steps, each one taken from the step catalogue and run in the order its id gives it. The catalogue holds the step types below. A screen-based step shows the end user something; a background step runs without a screen.

typeWhat it doesScreen or background
phoneRiskScores the phone number for line type, number history and SIM changes.Background
phoneIdentRetrieves the identity data linked to a phone number and matches the name and address on file.Background
phoneStatusReports whether the line is active, reachable or roaming.Background
emailRiskAdds the email address to the risk assessment.Background
deviceFingerprintRecords the device the journey runs on as risk evidence.Background
ipLocationResolves the location of the connection and compares it with the declared country.Background
repeatFraudDetectionSearches earlier journeys for the same face under another identity.Background
riskClassifyCombines the risk, identity, address and screening results into a risk class.Background
otpVerifyChecks a one-time code sent to the subject's phone number or email address.Screen
photoIdentIdentity document with a selfie and a liveness check.Screen
documentVerifyDocument images checked for authenticity, with the identity data read from them.Screen
facialComparisonSelfie compared with the document photograph.Screen
livenessConfirms that the subject is present during the journey.Screen
ageVerifyAge band and disability eligibility, from the document check.Background
nfcReadIdentity data read from the chip of an electronic document.Screen
qesIdentRemote identification confirmed with one qualified electronic signature.Screen
eudiWalletIdentity data shared from a European Digital Identity wallet.Screen
eidVerifyVerification through the electronic identity the subject already holds.Screen
videoIdentVideo call in which an agent checks the document and the person.Screen
mobileIdentIdentification that runs on the subject's own phone.Screen
idvProtocolA step of the identification protocol.Background
kyc1x1One data point checked against one independent source.Background
kyc2x2Identity and address data checked against independent sources.Background
otherIdScanCard types beyond passport and national identity card, read and added to the data.Screen
addressCaptureType-ahead address entry, resolved to a structured address.Screen
addressVerifyPerson checked against a postal address, with an OK, REVIEW or NOK decision.Background
addressOcrAddress read from a photograph the subject supplies.Screen
utilityBillCaptureUtility bill captured as proof of address.Screen
amlScreeningSanctions, PEP and watchlist screening.Background
monitoringRegisterRegisters the subject for ongoing monitoring.Background
aisLoginBank login and name match, confirming that this person can access the account.Screen
aisAffordabilityAccounts, balances and transactions from the subject's bank.Screen
accountCheckAccount holder name checked at the account-holding bank.Background
challengeDepositSmall deposit with a name match against the account holder record.Background
paymentInitiateAccount-to-account payment through a hosted payment page.Screen
eSignQualified electronic signatures collected on the document.Screen
pdfDossierAssembles the journey's evidence into a PDF dossier.Background
journeySummaryProduces the structured summary of the journey and its steps.Background
crossDeviceHandoffHands the journey to the subject's own phone over a QR code.Screen
dataCaptureAsks the subject for data the journey needs; verifies nothing.Screen
consentScreenConsent recorded for the step that needs it.Screen
legalConsentLegal disclaimer shown and acceptance recorded.Screen
infoScreenInformation shown; nothing asked and nothing verified.Screen
documentUploadDocument images or a file supplied by the subject and stored.Screen
startScreenWelcomes the end user, says what will happen and starts the journey when they act.Screen
thankYouScreenConfirms that the journey is complete, then returns the end user to your application.Screen

The fields each type takes, the fields it produces and the configuration it reads are on the workflow step catalogue page.

The screening step screens the subject against sanctions, PEP and watchlists and reports hit and totalResults in the step's result summary. Where you need the profile behind a candidate match, the source evidence and the wider risk datasets, AML Expert gives you that from your backend, before or after the journey; correlate the check with your own customer record.

A screening hit does not fail the step and does not fail the journey. The step completes, and its result summary carries hit and totalResults. The journey's outcome says that the steps ran; it is not a decision about the subject, and a hit is not one. Your backend decides what a hit means for your process.

Steps run strictly in ascending id order, one at a time, and a later step cannot start while an earlier one is unfinished. A step that fails ends the journey at once and the steps after it are not run. A step that has finished is not run again: if the browser asks for it a second time it is answered from the stored result, and nothing is called again. The journey runs exactly the steps in your configuration: it does not select an identification method from a risk score, and it stores no risk class.

4. Launch

Open uiHandle exactly as it was returned. Do not rebuild it from a base URL, do not edit its parameters, and do not reuse a URL from an earlier journey.

Use it as a full-page redirect, or inside an iframe on your own page. The URL carries a token that stays valid for 30 minutes from the moment the journey was created, and that token carries no personal data of the subject. It is still a credential for this one journey, so keep it on your server until the moment you hand it to the browser, and do not log it. There is no way to extend or refresh it: an expired launch URL is refused by the hosted pages, and the remedy is a new journey.

Embedding needs one thing from us. If you frame the launch URL, send us the exact origin of the page that frames it, scheme, host and port, as part of your access: the hosted pages allow only registered origins to frame them. An origin that was not registered is refused by the browser, not by us, and the user sees an empty frame. A full-page redirect needs no registration.

5. Result

Your backend learns the result through one of the two channels below. The browser page plays no part in delivering it.

Read the status

GET /sdk/universal/journeys/{transactionId}, with Authorization: Bearer <access_token>.

{
  "transactionId": "9e0f2b41-6b28-4d19-9e0e-9e1b0f0c2a53",
  "journeyId": "3c9d2a71-0a52-4f6f-8a54-2a0f0b1c7d44",
  "customerId": "example-customer",
  "processName": "customer-onboarding",
  "journeyStatus": "completed",
  "finished": true,
  "currentStep": null,
  "steps": [
    { "stepId": "1", "type": "photoIdent", "status": "completed", "startedAt": "2026-11-30T19:35:07.800Z", "completedAt": "2026-11-30T19:35:14.400Z", "result": { "sessionId": "<the verification session>", "completed": true } },
    { "stepId": "2", "type": "amlScreening", "status": "completed", "startedAt": "2026-11-30T19:35:14.450Z", "completedAt": "2026-11-30T19:35:14.500Z", "result": { "hit": false, "totalResults": 0 } }
  ],
  "finalOutcome": { "result": "COMPLETED", "completedAt": "2026-11-30T19:35:14.512Z" },
  "updatedAt": "2026-11-30T19:35:14.513Z",
  "createdAt": "2026-11-30T19:35:06.912Z"
}
FieldMeaning
journeyStatuspending before any step has run, in_progress while a step is unfinished, then completed when every step finished or failed when a step failed.
finishedtrue once the journey has ended either way.
currentStepThe first step that has not completed yet, as stepId, type, status, startedAt and completedAt, or null once the journey has ended.
steps[]One entry per step: stepId, type, status, startedAt, completedAt, and a result summary where the step produced one. A step's status is pending, in_progress, completed or failed.
steps[].resultA short summary, not a decision and never the verification service's own payload: for amlScreening, hit and totalResults; for addressVerify, addressStatus, matchQuality, finalAddress and globalResult; for photoIdent, sessionId, providerStatus, providerTransactionId and completed. The summary is built from what the step has stored, not from how it ended, so its absence says nothing about the step's outcome. A screening or address step stores its summary when it runs, so a failed one carries none. A photoIdent step is the one to know: its sessionId is published as soon as the provider session exists, so a summary can be there while the step is in_progress, without completed, and on a step that ended failed. Read the step's status for whether it has finished, and completed for whether the provider has reported.
finalOutcomenull until the journey has ended, then result as COMPLETED or FAILED, and completedAt.

Read finalOutcome.result for how the journey ended and journeyStatus for progress. COMPLETED means every step ran without failure. It does not mean the subject passed anything: verification decisions belong to your backend. FAILED means a step failed, not that the subject was rejected.

Errors: 401 when the bearer token is not usable, 403 when the account is not enabled for hosted journeys, 404 when there is no journey for that transactionId on your account, 502 when the journey service cannot be reached.

A 404 here is also the answer for a journey of another account, never a 403. Our own refusals carry { "error": "..." }; this 404, and the 400 of the create call, carry { "message": "..." }, the 400 with an errors array alongside it.

Receive the callback

Your IDCanopy contact sets the callback URL and its signing secret up with you as part of your access, and no callback is ever sent without a signing secret. The URL has to be https on a public address. We do not follow redirects, so the POST has to be answered at that exact URL: a 3xx is a failed delivery.

The callback is a POST with a JSON body. We build the body when a delivery round runs, from the journey as it stands at that moment, rather than once when the journey ends: timestamp is when the body you received was built. Once the journey has ended, a delivery is owed. Delivery is at least once: a delivery can reach you more than once, so your receiver has to treat two deliveries for the same journey as one. Deduplicate on transactionId together with the journey status, and answer 2xx quickly. Treat a delivery as the notification rather than the record of what happened.

One delivery round makes up to four attempts, and two separate limits apply. The HTTP exchange of a single attempt is capped at eight seconds. The whole round is capped at twenty seconds, and that covers everything in it: resolving the name, every attempt, and every wait between them. The waits grow, roughly 2, 4 and 8 seconds, so a round can make fewer than four attempts once the twenty seconds are used up, and it never runs past them. Answer 2xx within a few seconds: a lookup or an exchange that is still open when the round's budget runs out counts as a failed attempt, not as a delivery.

A 2xx answer accepts the delivery. Only a transient failure is tried again: an attempt that cannot connect, one that times out, or an answer of 5xx, 408 or 429. Any other answer ends the delivery for good and it is not sent again: a redirect, which we do not follow, and every other non-2xx answer that is not one of those three statuses.

A round that ends on a transient failure leaves the delivery owed rather than lost. It is attempted again as a fresh round of up to four attempts, no sooner than about thirty seconds after the round that ended. A later round is triggered by a status read, yours or the one our hosted pages make while the journey is open: if the journey has ended and no callback has arrived, read the status, and read it again a little later if the delivery still has not arrived. A delivery that is owed survives a restart on our side, and a status read returns the journey's result whether or not the delivery then succeeds. A journey with no callback configured for your account delivers nothing, and the status read is then the only channel.

HeaderValue
Content-Typeapplication/json.
SignatureThe HMAC-SHA256 of the raw request body, keyed with your signing secret, in lower-case hex.

Verify before you parse: compute the HMAC over the bytes you received, in constant time, and reject the delivery when it does not match. The signature covers the body only and there is no timestamp header alongside it, so a captured body can be replayed; the guarantee is that the body came from us, not that this is its first arrival. Correlate on transactionId together with the journey status, and use passThroughData to tie the journey to your own record; treat two deliveries that agree on both as one, and make the downstream effect of a delivery safe to repeat.

The payload, with synthetic data:

{
  "transactionId": "9e0f2b41-6b28-4d19-9e0e-9e1b0f0c2a53",
  "journeyId": "3c9d2a71-0a52-4f6f-8a54-2a0f0b1c7d44",
  "customerId": "example-customer",
  "timestamp": "2026-11-30T19:35:14.601Z",
  "status": "completed",
  "finalOutcome": { "result": "COMPLETED", "completedAt": "2026-11-30T19:35:14.512Z" },
  "journeySummary": {
    "journeyStats": {
      "completedSteps": 2,
      "failedSteps": 0,
      "totalSteps": 2,
      "startTime": "2026-11-30T19:35:07.800Z",
      "endTime": "2026-11-30T19:35:14.500Z"
    },
    "steps": [
      { "stepId": "1", "type": "photoIdent", "status": "completed", "startedAt": "2026-11-30T19:35:07.800Z", "completedAt": "2026-11-30T19:35:14.400Z", "result": { "sessionId": "<the verification session>", "completed": true } },
      { "stepId": "2", "type": "amlScreening", "status": "completed", "startedAt": "2026-11-30T19:35:14.450Z", "completedAt": "2026-11-30T19:35:14.500Z", "result": { "hit": false, "totalResults": 0 } }
    ],
    "authoritativeDataSubject": { "fullName": "Jane Doe", "DOB": "1990/01/01" }
  },
  "passThroughData": { "userId": "example-user-1" }
}
FieldMeaning
transactionIdThe journey's reference, the same one the status read takes.
journeyIdOur identifier for the journey, the same value the status read reports.
customerIdYour account identifier.
timestampWhen the callback was built, ISO 8601.
statuscompleted or failed: the journey's own end state.
finalOutcomeresult as COMPLETED or FAILED, and completedAt. The same object the status read reports.
journeySummary.journeyStatscompletedSteps, failedSteps, totalSteps, startTime, endTime.
journeySummary.steps[]stepId, type, status, startedAt, completedAt, and a result summary where the step has one, the same summaries the status read reports. A thank-you screen is complete as soon as it is displayed, so a step entry can carry shownAt with no confirmedAt, the status read then shows the same, and when that screen is the last step the callback is sent at that moment.
journeySummary.authoritativeDataSubjectfullName, DOB and mobileNumber, present only when at least one of the three is known; a key we do not know is left out. Values come from the identity document where there is one, otherwise from validationData, and a DOB from validationData comes back in the form you sent it.
passThroughDataYour own object, present only when you supplied one.

A failed journey's callback has status: failed and finalOutcome.result as FAILED, the failed step is marked failed, and the steps after it stay pending. A failed step carries a result summary only when it stored something to summarise: a failed screening or address step carries none, and a failed photoIdent step normally does, because its session already existed. Neither the callback nor the status read carries the verification service's own error text: that stays with us. The failure itself is reported in the error object the step catalogue documents, under Errors and messages, with our own errorText for your logs and the customerDisplayText for the end user.

6. Errors and failure behaviour

What happensWhat you getWhat to do
The journey is refused when it is created400, with no transactionIdCorrect the request and send it again. Nothing was created.
The journey is created for an account the bearer token does not belong to401Correct the request. Do not retry with another account identifier.
The bearer token is missing, unknown or expired401 from the create call or the status readAuthenticate again, then repeat the call.
A step fails while it runs, because the service behind it failsThe step is marked failed, the journey ends at once, the steps after it do not run, finalOutcome.result is FAILED and the callback reports the failureTreat the journey as finished and failed. A failed step is not retried and nothing after it runs: create a new journey.
The launch token has expiredThe hosted pages refuse the URLCreate a new journey. There is no renewal.
The browser refuses to frame the launch URLAn empty frame, no error of oursRegister the framing origin with us, or use a redirect.
The callback does not arrive, or its signature does not verifyNothing to act on, or a delivery you must rejectRead the status endpoint: that read is what sends the delivery still owed, and it returns the result either way. Log a rejected delivery and act on nothing.
The status read answers 404No journey for that transactionId on your account; a journey of another account answers 404 as wellCheck the identifier and the token. Do not infer that the journey did not happen.
The create call answers 5xxNo transactionId, so no status to read eitherThe outcome of the request is unknown. Confirm with us before creating a second journey for the same user.

Show the user a neutral message when creation fails. Do not surface the backend response, the transaction identifier, the launch URL or the bearer token in your page, in client-side logs or in your analytics.

The error object a failed step or a failed journey reports is on the step catalogue page, under Errors and messages: its fields, the codes, whether the end user can retry, and the display text in the journey's language.

The Mock API on this portal answers individual API operations under /mock/api/services. It does not serve this journey, and a 2xx from a mock fixture is not a journey outcome.

A journey orchestrates the steps in your configuration. Several capabilities are also their own API calls from your backend: AML Expert, Phone Intelligence and QES identify and sign. Read their pages for those contracts.

Next steps

Agree the steps, the launch pattern and the result delivery with us, and we issue your access with the API key, the callback URL and its signing secret, and set up the processes predefined for your account. Contact office@idcanopy.com to start, and see Workflows & UI for the product overview.

On this page