Workflow Integration
Use workflows to integrate the Hosted Solution.
Overview
This guide walks you through integrating the Hosted Solution with ComplyCube workflows.
For a quick copy-paste example, use our integration assistant.
Integration guide

ComplyCube's hosted solution requires a flow session to be initiated by your backend. Here’s how it works:
Create a client
Every flow session starts with a client (i.e. customer). Use the API to create the client.
Example request
Example response
The response will contain an id (the Client ID). It is required for the next step.
See Clients API Reference to learn more.
Generate a hosted page session
A hosted page session creates a unique ComplyCube URL that you can use to redirect your customers to complete their identity verification.
As part of the request, you are required to specify a workflow template ID. The Hosted Solution will automatically run the active version of the selected workflow.
Example request
Example response
See Flow Sessions API Reference to learn more.
Redirect the customer to the URL
Redirect your customer to the redirectUrl generated in the previous step.
Once your customer starts the flow, a workflow session is automatically created. This session contains all captured data (documents, images, and videos) as well as progress tracking. You can view all of them through the workflow sessions page on the portal or through the API.
When the customer completes the flow on the hosted solution:
ComplyCube will automatically run all verification checks configured within that workflow.
The customer will be redirected to the
successUrlyou provided.
You can access the results and a detailed breakdown of each check via the API or Web Portal. If you’ve configured webhooks, ComplyCube will send a notification upon completion of each check.
Branding
You can customize accent colors and upload your logos to the hosted page via the brand settings page, if available on your plan.

