Create Customer
Creates a new customer
Response Body
The API returns all fields that were provided in the request body, along with any computed fields. This includes:- Basic Information:
id,firstName,lastName,email,phoneNumber,timezone - Personal Information:
birthday,ssnLastFour - Address Information:
streetAddress1,streetAddress2,city,state,zipCode - Configuration:
taskType,doNotCall,isTest - Custom Data:
externalMetadata- The complete metadata object you provided
Required Fields
When creating a customer, the following fields are required: Name Fields:firstName- Customer’s first name (required)lastName- Customer’s last name (required)
phoneNumber- Customer’s phone number (required) - Used for automated calling and SMS communicationstimezone- Customer’s timezone as an IANA timezone name (e.g., “America/New_York”, “America/Los_Angeles”, “America/Chicago”) (required) - Required for TCPA compliance to ensure calls are made during appropriate hours. Must be a valid IANA timezone identifier.
taskType- Task type for customer’s call schedule (required) - Valid task types depend on your company configuration. If an invalid task type is provided for your company, the API will return a400 Bad Requesterror with a list of valid task types.
streetAddress1- Street address line 1 (required)city- City name (required)state- State code (e.g., “NY”, “CA”) (required)zipCode- ZIP/postal code (required)
streetAddress2- Street address line 2
Test Customers
You can mark a customer as a test customer by setting thetest parameter to true in the request body. Test customers are useful for development and testing purposes and can be filtered separately when retrieving customers.
External Metadata
TheexternalMetadata field allows you to store additional custom data about the customer as a JSON object. This is particularly useful for storing:
- Employer Information: Company name, address, department, contact details
- Pay Schedule: Pay frequency and pay day information
- Additional Contact Information: Multiple phone numbers and contact methods
- Custom Fields: Any other customer-specific data your system needs to track
LMS Auto-Fetch (sync)
If your company has a Loan Management System integrated with Finosu, you can use thesync field to automatically fetch customer data instead of providing it manually.
- Default:
false— all fields must be provided in the request - When
true: The API uses theidfield as the customer ID in your LMS and auto-fetches any missing fields (name, email, SSN, birthday, phone, address, zip, timezone) - Caller-supplied values take precedence — if you provide a field, the LMS value is not used
- Timezone is auto-resolved from the zip code when not provided
id, taskType, and sync: true — the rest is fetched from your LMS automatically. Contact your Finosu account manager to enable LMS integration for your company.
Loan ID (Optional)
TheloanId field (string) allows you to specify a single loan ID from your LMS for enrichment. This links the customer’s task to a specific loan in your system.
Loan IDs (Optional)
TheloanIds field allows you to specify which loans should be imported for the customer when creating them:
- Format: Array of integers (e.g.,
[123, 456, 789]) - Behavior: If provided, only the specified loans will be fetched and imported. If omitted, all loans for the customer will be imported.
- Use Case: Useful when you only want to import specific loans instead of all loans associated with the customer.
Authorizations
Body
Customer to add
Unique identifier for the customer. This is your customer reference and should match your internal system's ID.
Type of tasks to create for the customer's automated call schedule. Valid values depend on company configuration. This field is required.
"collections"
The first name of the customer
The last name of the customer
Customer email address
Customer birthday in YYYY-MM-DD format
"1985-06-15"
Last 4 digits of SSN
"1234"
Timezone of the customer (IANA timezone name, e.g., 'America/New_York', 'America/Los_Angeles')
Phone number of the customer
Street address line 1
"123 Main St"
Street address line 2 (optional)
"Apt 4B"
City
"San Francisco"
State code
"CA"
ZIP/postal code
"94102"
Do not call the customer
Indicates if this is a test customer
Mark customer as test customer
Additional custom metadata about the customer (e.g. employer information, pay schedule, additional contact details)
Array of loan IDs to import. If provided, only these loans are imported. If omitted, all loans are imported.
[123, 456, 789]When true, auto-fetch missing customer data from your integrated lending system. Defaults to false.
Loan reference ID for enrichment. Distinct from loanIds which filters loan imports.
Response
Customer response
The first name of the customer
The last name of the customer
Unique identifier for the customer. This is your customer reference and should match your internal system's ID.
Customer email address
Customer birthday in YYYY-MM-DD format
Last 4 digits of SSN
Timezone of the customer (IANA timezone name, e.g., 'America/New_York', 'America/Los_Angeles')
Phone number of the customer
Street address line 1
Street address line 2 (optional)
City name
State code (e.g., NY, CA)
ZIP/postal code
Do not call the customer
Indicates if this is a test customer
Type of tasks created for the customer's automated call schedule
Additional custom metadata about the customer