The contact resource includes the following fields:
| Field | Type | Description |
|---|---|---|
id | integer | Internal database ID |
status | string | Sanctions check status (green, yellow, red, gray, black) |
contact_uid | string | Unique identifier for the contact |
gender | string | Gender (male or female) |
full_name | string | Full name (auto-generated from first_name + last_name) |
first_name | string | First name |
last_name | string | Last name |
email | string | Email address |
phone | string | Phone number |
street | string | Street address |
postal_code | string | Postal/ZIP code |
city | string | City |
country_or_region | string | Country or region |
comment | string | Additional comments |
notes | array | Array of notes |
is_watchlist | boolean | Whether contact is on watchlist |
is_archived | boolean | Whether contact is archived |
sanctions_check_result | object | Detailed sanctions check results |
sanctions_check | string | Sanctions check status |
user_name | string | Name of user who created the contact |
user_id | integer | ID of user who created the contact |
updated_by | string | Name of user who last updated the contact |
matches | array | Sanctions matches array |
last_sanction_checked_at | datetime | Timestamp of last sanctions check |
masterdata_updated_at | datetime | Timestamp of last masterdata update |
The Contacts API supports filtering through query parameters:
search)contact_uid, full_name, city, country_or_regionLIKE queries with wildcardstimestamp)updated_at >= timestampis_watchlist)is_archived)false if not providedtrue# Search for contacts containing "john"
GET https://app.cu-ta.de/api/:prefix/v1/contacts?search=john
# Get contacts updated after a specific date
GET https://app.cu-ta.de/api/:prefix/v1/contacts?timestamp=2024-01-01T00:00:00Z
# Get watchlist contacts
GET https://app.cu-ta.de/api/:prefix/v1/contacts?is_watchlist=true
# Get archived contacts
GET https://app.cu-ta.de/api/:prefix/v1/contacts?is_archived=true
# Combine multiple filters
GET https://app.cu-ta.de/api/:prefix/v1/contacts?search=john&is_watchlist=false&per_page=50
The list endpoint supports pagination with the following default behavior:
per_page query parameterPagination response includes:
current_page: Current page numberper_page: Number of items per pagetotal: Total number of contactslast_page: Last page numberContacts automatically track history when created or updated:
created and text Contact Createdupdated and text Contact UpdatedHistory includes:
All endpoints return error responses in the following format:
{
"message": "Contact already exists"
}
{
"message": "Unauthenticated."
}
{
"message": "This action is unauthorized."
}
{
"message": "Contact not found"
}
Validation errors are returned in the following format:
{
"message": "The given data was invalid.",
"errors": {
"contact.contact_uid": ["The contact.contact uid field is required."],
"contact.gender": ["The selected contact.gender is invalid."]
}
}
contact_uid field serves as the unique identifier for contacts and cannot be changed after creationfull_name field is automatically generated from first_name and last_name and cannot be set directlyis_archived=trueapi-user role