Create a session
URL
POST https://api.complycube.com/v1/flow/sessions
Creates a session.
Headers
Name | Type | Description |
---|---|---|
| string | The content-type must always be set to |
| string | The API |
Body
Name | Type | Description |
---|---|---|
| string | The ID of the client. |
| string | An array of check types. Valid values include:
1. 7. |
| array | The URL to which ComplyCube should send clients when KYC and identity verification is complete. |
| array | The URL the client will be directed to if they decide to cancel and return to your website. |
| boolean | Determines whether continuous monitoring is enabled for selected check types. When not provided, it defaults to false. |
| string | The UI language. Valid values include:
|
| string | The UI theme to apply. Valid values include:
|
| 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. |
| string | The support email address that appears on the UI for your clients. When not provided, no email address will be displayed. |
| object | The custom messages to display on the UI for your users. Also, see the messages object below. |
| 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 |
|
| Enable or disable passport selection. (Optional) |
|
| Enable or disable driving license selection. (Optional) |
|
| Enable or disable residence permit selection. (Optional) |
|
| Enable or disable national identity card selection. (Optional) |
The messages
object
messages
objectAttribute | Type | Description |
|
| The intro screen message content. See the content object below. (Optional) |
|
| The completion screen message content. See the content object below. (Optional) |
The content
object
content
objectAttribute | Type | Description |
|
| The heading of the page. (Optional) |
|
| The message body of the page. (Optional) |
Example request
Example response
Last updated