Create a session
URL
POST https://api.complycube.com/v1/flow/sessions
Creates a session.
Headers
Content-Type
*
string
The content-type must always be set to application/json
.
Authorization
*
string
The API live
or test
key
Body
clientId
*
string
The ID of the client.
checkTypes
*
string
An array of check types. Valid values include:
1. standard_screening_check
2. extensive_screening_check
3. document_check
4. identity_check
5. enhanced_identity_check
6. proof_of_address_check
7. face_authentication_check
8. age_estimation_check
successUrl
*
array
The URL to which ComplyCube should send clients when KYC and identity verification is complete.
cancelUrl
*
array
The URL the client will be directed to if they decide to cancel and return to your website.
enableMonitoring
boolean
Determines whether continuous monitoring is enabled for selected check types. When not provided, it defaults to false.
language
string
The UI language. Valid values include:
en
(default)ar
de
es
fr
hi
hk
id
it
ja
ko
nl
no
pl
pt
sv
th
vi
zh
theme
string
The UI theme to apply. Valid values include:
light
(default)dark
allowDocumentUpload
boolean
Indicates whether to force users to capture their documents using their phones. This removes the document upload option. When not provided, it defaults to true.
supportEmail
string
The support email address that appears on the UI for your clients. When not provided, no email address will be displayed.
messages
object
documentTypes
object
The list of ID document types the client can select. When not provided, your client can select any of the types we support.
The checkTypes
attribute
checkTypes
attributeThe checkTypes
attribute represents the check types you would like to perform on your client. ComplyCube will generate the relevant UI capture screens based on the check types provided.
The documentTypes
object
documentTypes
objectAttribute
Type
Description
passport
boolean
Enable or disable passport selection. (Optional)
driving_license
boolean
Enable or disable driving license selection. (Optional)
residence_permit
boolean
Enable or disable residence permit selection. (Optional)
national_identity_card
boolean
Enable or disable national identity card selection. (Optional)
The messages
object
messages
objectAttribute
Type
Description
intro
object
completion
object
The content
object
content
objectAttribute
Type
Description
heading
string
The heading of the page. (Optional)
message
string
The message body of the page. (Optional)
Example request
Example response
Last updated