API Reference
Log inSign up
v1.7.3
v1.7.3
  • ComplyCube API Reference
  • Integration
  • Test 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
      • Delete image attachment
      • Download image attachment
      • Redact image attachment
      • Delete a document
      • List documents
      • Filtering documents
    • Live Photos
      • Upload a live photo
      • Get a live photo
      • Download live photo
      • Redact live photo
      • Delete a live photo
      • List live photos
    • Live Videos
      • Get a live video
      • Redact live video
      • Delete live video
      • List live videos
    • Checks
      • Create a check
      • Get a check
      • Update a check
      • Validate check outcome
      • Redact check outcome
      • List checks
      • Filtering checks
    • Risk Profile
      • Get a risk profile
  • Check types
    • AML Screening Check
    • Document Check
    • Identity Check
    • Enhanced Identity Check
    • Proof of Address Check
    • Multi-Bureau Check
    • Face Authentication Check
    • Age Estimation Check
  • Lookups
    • Company Search
      • Search company
      • Get company details
    • Address Search
      • Search address
  • Tools
    • Custom Lists
      • Get a custom list
      • Add entity to custom list
      • List custom lists
  • Static Data
    • Screening Lists
    • Supported Documents
  • Other Resources
    • Flow (Hosted Solution)
      • Create a session
    • Webhooks
      • Create a webhook
      • Get a webhook
      • Update a webhook
      • Delete a webhook
      • List webhooks
      • Filtering webhooks
    • SDK Tokens
      • Generate a token
    • Autofill
      • Perform autofill
    • Reports
      • Generate a client report
      • Generate a check report
    • Team Members
      • Get a team member
      • List team members
      • Filtering team members
    • Audit Logs
      • Get an audit log
      • List audit logs
      • Filtering audit logs
    • Account Info
      • Get account info
  • Useful Resources
    • Testing Data
    • User Docs
Powered by GitBook
On this page
  • URL
  • Headers
  • Path parameters
  • Body
  • Example request
  • Example response

Was this helpful?

  1. Tools
  2. Custom Lists

Add entity to custom list

URL

POST https://api.complycube.com/v1/customLists/:id/records

Adds an entity (person or company) to the specified custom list.

Headers

Name
Type
Description

Content-Type*

string

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

Authorization*

string

The API live or test key.

Path parameters

Name
Type
Description

id*

string

The ID of the custom list.

Body

Name
Type
Description

entityType*

string

The type of entity. Valid values are: 1. person 2. company

names*

array

active

boolean

Indicates whether the entity is active or not.

gender

string

The gender. Only applicable when entity type is person. Valid values include: 1. male 2. female 3. other

countries

array

dates

array

images

array

An array of strings that contain URIs of images for the entity.

The name object

Attribute
Type
Description

firstName

string

The entity's first name. This is required when the entity type is person. (Optional)

middleName

string

The entity's middle name. (Optional)

lastName

string

The entity's last name. This is required when the entity type is person. (Optional)

companyName

string

The entity's company name. This is required when the entity type is company. (Optional)

type

string

The entity's name type. Valid values include:

  1. primary

  2. alias

  3. maiden_name

  4. localised_name

  5. low_quality_alias

(Optional)

The countries object

Attribute

Type

Description

country

string

type

string

The entity's country type. Valid string values include:

  1. "Jurisdiction"

  2. ''Resident of''

  3. "Citizenship"

  4. "Country of Registration"

(Required)

The dates object

Attribute

Type

Description

date

object

The date in a structured format. The date object has the following attributes:

  1. day: The day of the month. Value range "01" to "31", passed as string.

  2. month: The month. Value range "1" to "12", passed as string.

  3. year: The year, in YYYY format, passed as string.

(Required)

type

string

The entity's date type. Valid string values include:

  1. "Date of Birth"

  2. ''Date of Registration''

(Required)

Example request

curl -X POST https://api.complycube.com/v1/customLists/{:customListId}/records \
     -H 'Authorization: <YOUR_API_KEY>' \
     -H 'Content-Type: application/json' \
     -d '{
            "entityType": "person",
            "names": [
              {
                "type": "primary",
                "firstName": "John",
                "lastName": "Smith"
              },
              {
                "type": "alias",
                "firstName": "John",
                "lastName": "Smyth"
              }
            ],
            "active": true,
            "gender": "male",
            "countries": [
              {
                "type": "Jurisdiction",
                "country": "US"
              },
              {
                "type": "Resident of",
                "country": "GB"
              }
            ],
            "dates": [
              {
                "type": "Date of Birth",
                "date": {
                  "day": "01",
                  "month": "01",
                  "year": "1987"
                }
              }
            ],
            "images": [
              "https://www.example.com/johnDoe.jpg"
            ]
      }'

Example response

{}
PreviousGet a custom listNextList custom lists

Last updated 1 year ago

Was this helpful?

An array of name objects that contain all known aliases for the entity. Also, see the below.

An array of value pair objects covering known associated countries for entity. Also, see the below.

An array of value pair objects covering important dates associated with the entity. Also, see the below.

The . (Required)

two-letter country ISO code
names object
countries object
dates object