curl --request POST \
--url https://sandbox.veritusagent.ai/api/v1/customers/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customers": [
{
"externalId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"primaryPhone": "<string>",
"address": {
"zip": "<string>",
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>"
},
"middleName": "<string>",
"secondaryPhone": "<string>",
"ssnLastFour": "<string>",
"dateOfBirth": "<string>",
"collections": {
"totalBalance": 1,
"principalBalance": 1,
"originalCreditor": "<string>",
"accruedInterestAmount": 1,
"chargeOffDate": "2023-12-25",
"firstDelinquencyDate": "2023-12-25",
"settlementAggregationRate": 1,
"originalAccountNumber": "<string>",
"itemizationBalance": 1,
"postItemizationInterest": 1,
"postItemizationFees": 1,
"postItemizationCredits": 1,
"postItemizationPayments": 1,
"productType": "<string>",
"originalProductType": "<string>"
}
}
]
}
'{
"requestId": "838be160-334c-47aa-a559-d92d5cdc2ef4",
"success": true,
"data": {
"summary": {
"total": 2,
"succeeded": 1,
"failed": 1
},
"results": [
{
"externalId": "CUST-123456",
"success": false,
"error": "Customer with external ID 'CUST-123456' already exists"
},
{
"success": true,
"customer": {
"id": "7ff34749-ddef-4a1f-8568-296a2240a6cc",
"externalId": "CUST-987654",
"firstName": "Johnny",
"middleName": "Fuji",
"lastName": "Appleseed",
"email": "[email protected]",
"primaryPhone": "+14153334444",
"secondaryPhone": null,
"ssnLastFour": "5345",
"dateOfBirth": "1990-01-21",
"address": {
"line1": "123 Main St",
"line2": "Suite 200",
"city": "San Francisco",
"state": "CA",
"zip": "94131"
},
"collections": {
"principalBalance": 5000,
"originalCreditor": "ABC Bank",
"accruedInterestAmount": 250.5,
"totalBalance": 5250.5,
"chargeOffDate": "2023-01-15",
"firstDelinquencyDate": "2022-06-01"
},
"createdAt": "2025-10-23T05:38:45.468Z"
}
}
]
}
}Create multiple customers in a single request. Returns partial success - some customers may be created while others fail validation or already exist.
curl --request POST \
--url https://sandbox.veritusagent.ai/api/v1/customers/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customers": [
{
"externalId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"primaryPhone": "<string>",
"address": {
"zip": "<string>",
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>"
},
"middleName": "<string>",
"secondaryPhone": "<string>",
"ssnLastFour": "<string>",
"dateOfBirth": "<string>",
"collections": {
"totalBalance": 1,
"principalBalance": 1,
"originalCreditor": "<string>",
"accruedInterestAmount": 1,
"chargeOffDate": "2023-12-25",
"firstDelinquencyDate": "2023-12-25",
"settlementAggregationRate": 1,
"originalAccountNumber": "<string>",
"itemizationBalance": 1,
"postItemizationInterest": 1,
"postItemizationFees": 1,
"postItemizationCredits": 1,
"postItemizationPayments": 1,
"productType": "<string>",
"originalProductType": "<string>"
}
}
]
}
'{
"requestId": "838be160-334c-47aa-a559-d92d5cdc2ef4",
"success": true,
"data": {
"summary": {
"total": 2,
"succeeded": 1,
"failed": 1
},
"results": [
{
"externalId": "CUST-123456",
"success": false,
"error": "Customer with external ID 'CUST-123456' already exists"
},
{
"success": true,
"customer": {
"id": "7ff34749-ddef-4a1f-8568-296a2240a6cc",
"externalId": "CUST-987654",
"firstName": "Johnny",
"middleName": "Fuji",
"lastName": "Appleseed",
"email": "[email protected]",
"primaryPhone": "+14153334444",
"secondaryPhone": null,
"ssnLastFour": "5345",
"dateOfBirth": "1990-01-21",
"address": {
"line1": "123 Main St",
"line2": "Suite 200",
"city": "San Francisco",
"state": "CA",
"zip": "94131"
},
"collections": {
"principalBalance": 5000,
"originalCreditor": "ABC Bank",
"accruedInterestAmount": 250.5,
"totalBalance": 5250.5,
"chargeOffDate": "2023-01-15",
"firstDelinquencyDate": "2022-06-01"
},
"createdAt": "2025-10-23T05:38:45.468Z"
}
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Array of customers to create.
Show child attributes
The ID of the customer in your system.
The first name of the customer.
The last name of the customer.
The email address of the customer.
The primary phone number of the customer. (E.164 format)
The address of the customer.
Show child attributes
The zip code of the address. Use 5 digits (12345) or 9 digits (12345-1234) format.
The first line of the address.
The second line of the address (e.g., apartment, suite, unit number).
The city of the address.
The state of the address.
The middle name of the customer.
The secondary phone number of the customer. (E.164 format)
The last four digits of the customer's Social Security Number. Required for collections customers.
4The date of birth of the customer. YYYY-MM-DD format. Required for collections customers.
Required for customers with collections. If set, you must also provide ssnLastFour and dateOfBirth.
Show child attributes
The total balance of the customer's collections.
x >= 0The principal balance amount.
x >= 0The name of the original creditor.
The amount of accrued interest.
x >= 0The date when the account was charged off.
The date of the first delinquency. (ISO-8601 format: YYYY-MM-DD).
The settlement aggregation rate.
x >= 0The original account number.
The itemization balance amount.
x >= 0Interest accrued after itemization.
x >= 0Fees accrued after itemization.
x >= 0Credits applied after itemization.
x >= 0Payments made after itemization.
x >= 0The current product type.
The original product type.
Bulk customer creation response. Contains arrays of successful and failed customer creations.
The request identifier.
Whether the bulk operation completed successfully.
Results of the bulk customer creation.
Show child attributes
Array of results for each customer creation attempt, in the same order as the request.
Show child attributes
Indicates successful customer creation.
true, false The created customer object.
Show child attributes
The ID of the customer.
The ID of the customer in your system.
The first name of the customer.
The last name of the customer.
The email address of the customer.
The primary phone number of the customer. (E.164 format)
The address of the customer.
Show child attributes
The zip code of the address. Use 5 digits (12345) or 9 digits (12345-1234) format.
The first line of the address.
The second line of the address (e.g., apartment, suite, unit number).
The city of the address.
The state of the address.
The middle name of the customer.
The secondary phone number of the customer. (E.164 format)
The last four digits of the customer's Social Security Number. Required for collections customers.
4The date of birth of the customer. YYYY-MM-DD format. Required for collections customers.
Timestamp when the customer was created. ISO-8601 format.