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
Content-Type
*
string
The content-type must always be set to application/json
.
Authorization
*
string
The API live
or test
key.
Path parameters
id
*
string
The ID of the custom list.
Body
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
name
object 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:
primary
alias
maiden_name
localised_name
low_quality_alias
(Optional)
The countries
object
countries
object Attribute
Type
Description
country
string
type
string
The entity's country type. Valid string values include:
"Jurisdiction"
''Resident of''
"Citizenship"
"Country of Registration"
(Required)
The dates
object
dates
object Attribute
Type
Description
date
object
The date in a structured format. The date object has the following attributes:
day
: The day of the month. Value range "01" to "31", passed as string.month
: The month. Value range "1" to "12", passed as string.year
: The year, in YYYY format, passed as string.
(Required)
type
string
The entity's date type. Valid string values include:
"Date of Birth"
''Date of Registration''
(Required)
Example request
Example response
Last updated