API Reference
Log inSign up
v.1.7.2
v.1.7.2
  • Introduction
  • Integration
  • Sandbox and Live
  • Authentication
  • Rate Limits
  • Service Quota
  • Errors
  • Pagination
  • Filtering
  • Versioning
  • Core resources
  • Clients
    • Create a client
    • Get a client
    • Update a client
    • Delete a client
    • List clients
    • Filtering clients
  • Addresses
    • Create an address
    • Get an address
    • Update an address
    • Delete an address
    • List addresses
    • Filtering addresses
  • Documents
    • Create a document
    • Get a document
    • Update a document
    • Upload image attachment
    • Download image attachment
    • Delete image attachment
    • Delete a document
    • List documents
    • Filtering documents
  • Live Photos
    • Upload a live photo
    • Get a live photo
    • Download live photo
    • Delete a live photo
    • List live photos
  • Checks
    • Create a check
    • Get a check
    • Update a check
    • Validate check outcome
    • List checks
    • Filtering checks
  • Risk Profile
    • Get a risk profile
  • Check types
    • AML Screening Check
    • Document Check
    • Identity Check
  • Other Resources
    • Webhooks
      • Create a webhook
      • Get a webhook
      • Update a webhook
      • Delete a webhook
      • List webhooks
      • Filtering webhooks
    • Reports
      • Generate a client report
      • Generate a check report
    • SDK Tokens
      • Generate a token
    • Team Members
      • Get a team member
      • List team members
      • Filtering team members
    • Audit Logs
      • Get an audit log
      • List audit logs
      • Filtering audit logs
Powered by GitBook
On this page
  • Create a check
  • The options object
  • Example request

Was this helpful?

  1. Checks

Create a check

Create a check

POST https://api.complycube.com/v1/checks

Creates a new check.

Headers

Name
Type
Description

Content-Type

string

The content-type must always be set to application/json.

Authentication

string

The API live or test key

Request Body

Name
Type
Description

clientId

string

The ID of the client.

type

string

The type of check. Valid values include: 1. standard_screening_check 2. extensive_screening_check 3. document_check 4. identity_check

enableMonitoring

string

Determines whether continuous monitoring is enabled. When not provided, it defaults to false.

documentId

boolean

The ID of the document. This is required when the type of check is document_check or identity_check.

livePhotoId

string

The ID of the live photo. This is required when the type of check is identity_check.

options

object

The optional configuration associated with the check.

{
    "id": "5eb2b61e02df0a0008f1cf2a",
    "clientId": "5eb1276d96be4a0008713af5",
    "entityName": "John Doe",
    "type": "extensive_screening_check",
    "status": "pending",
    "enableMonitoring": false,
    "createdAt": "2020-01-01T14:06:44.756Z",
    "updatedAt": "2020-01-01T14:06:44.756Z"
}

The options object

Attribute

Type

Description

analysisCoverage

array[string]

The types of analysis to conduct as part of a document check. Valid values include:

  1. consistency_analysis

  2. forensic_analysis

  3. content_analysis

  4. format_analysis

  5. front_back_analysis

  6. mrz_analysis

When this attribute is not provided, we will conduct all analysis types.

This is only applicable to checks of type document_check.

Example request

curl -X POST https://api.complycube.com/v1/checks \
     -H 'Authorization: <YOUR_API_KEY>' \
     -H 'Content-Type: application/json' \
     -d '{
          	"clientId":"5eb1276d96be4a0008713af5",
          	"type": "standard_screening_check"
        }'
const { ComplyCube } = require("@complycube/api");

const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });

const check = await complycube.check.create("5eb1276d96be4a0008713af5", {
    type: "standard_screening_check"
});
from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR API KEY>')

check = cc_api.checks.create('CLIENT_ID',type='standard_screening_check')
use ComplyCube\ComplyCubeClient;

$ccapi = new ComplyCubeClient('<YOUR API KEY>');
$result = $ccapi->checks()->create('CLIENT_ID',
                                   ['type' => 'standard_screening_check']);
PreviousChecksNextGet a check

Last updated 4 years ago

Was this helpful?