Sync customer schedule by creating or updating customer and recreating their call schedule. This endpoint is idempotent.
X-API-Key header. See Authentication for details.
id - External customer reference IDfirstName - Customer’s first namelastName - Customer’s last nameemail - Customer email addressbirthday - Customer birthday (YYYY-MM-DD format)ssnLastFour - Last 4 digits of SSNphoneNumber - 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 schedulestreetAddress1 - Street address line 1city - City namestate - State code (e.g., “NY”, “CA”)zipCode - ZIP/postal codedoNotCall - Whether to mark customer for Do Not Call (optional; if not provided, existing value is preserved)test - Mark customer as test customer (default: false)externalMetadata - Custom JSON object with additional customer datastreetAddress2 - Street address line 2id, firstName, lastName, email, phoneNumber, timezonebirthday, ssnLastFourstreetAddress1, streetAddress2, city, state, zipCodetaskType, doNotCall, isTestexternalMetadata - The complete metadata object you providedschedule_created, tasks_created, existing_tasks_removed - Information about the sync operation performedschedule_created (boolean): Whether a new schedule was created during this sync operation. This will be true if the customer has both a valid timezone and phone number, and false if either is missing.
tasks_created (integer): The number of new tasks created as part of the schedule.
existing_tasks_removed (integer): The number of pending tasks that were removed before creating the new schedule. This ensures a clean slate for the new schedule and prevents duplicate tasks.
schedule_created field.
doNotCall: false in the request.
Behavior:
doNotCall is not provided (omitted from request) and the customer has Do Not Call status → Error (prevents accidental schedule creation)doNotCall: true and the customer has Do Not Call status → Error (attempting to maintain Do Not Call while creating schedule)doNotCall: false and the customer has Do Not Call status → Success (explicitly removing Do Not Call and creating schedule)doNotCall is not provided and the customer does NOT have Do Not Call status → Success (preserves existing state)id exists, it will be updatedCustomer data to sync
Unique identifier for the customer. This is your customer reference and should match your internal system's ID.
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"
Street address line 1 (required)
"123 Main St"
City (required)
"San Francisco"
State code (required)
"CA"
ZIP/postal code (required)
"94102"
Type of tasks to create for the customer's automated call schedule. Valid values depend on company configuration. This field is required.
"collections"
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 2 (optional)
"Apt 4B"
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)
Customer schedule synced successfully
Customer ID (reference_id)
Customer's first name
Customer's last name
Whether a new schedule was created during this sync operation
true
Number of new tasks created as part of the schedule
1
Number of pending tasks that were removed before creating the new schedule
3
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