Skip to main content
POST
/
fraud-detection
/
customers
/
load
cURL
curl --request POST \
  --url https://api.insightai.in/fraud-detection/customers/load \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "status": "<string>",
  "loadedCount": 123,
  "failedCount": 123,
  "errorDetails": [
    {
      "error": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

Customer data file in CSV or JSON format containing necessary details for onboarding.

file
file

CSV or JSON file containing customer details.

Response

Customer data successfully loaded

status
string

Status of the data load process.

loadedCount
integer

Number of customer records successfully loaded.

failedCount
integer

Number of records that failed to load.

errorDetails
object[]

Details of any errors encountered.

I