Skip to main content
Add Customer

Headers

string
required
Bearer token for authentication (e.g., Bearer <your_token>).

Body Parameters

string
required
Target campaign ID. The campaign must already exist.
object
required
Customer data object. The required fields depend on your campaign’s service type.
Use this structure if you are managing existing loans.
boolean
default:false
If true, initiates a call to the customer immediately after adding. Requires callConfig. Cannot be true if useWorkflow is true.
object
Required when initiateCall is true.
boolean
default:false
If true, triggers workflow execution asynchronously. Cannot be true if initiateCall is true.

Response

boolean
Indicates whether the request was successful.
string
A descriptive message about the result.
object
Details of the added customer.
boolean
Whether the call was successfully initiated. Only present when initiateCall was true.
string
Reason the call could not be initiated. Only present when callInitiated is false.
boolean
Whether the workflow execution was triggered. Only present when useWorkflow was true.