Validate CSV file

This request validates the structure and content of your uploaded CSV file before importing.

   Click here to learn more about this request

LoanPro's import tool is a fast and efficient way to transfer large amounts of data. Imports can be completed manually via the LoanPro dashboard or programmatically via the API. Note the following when importing data via the API.

Importing data into LoanPro requires a series of steps. Here's a breakdown of the entire process.


Rejection files (for rows that failed) are generated at validated status by calling the endpoint on this page. Usable presigned URLs to download them can be accessed in the Get import progress step.

This endpoint returns an empty response body with Content-Length: 0. A 200 response means the job was accepted—not that it passed. Note the following:

  • Poll the endpoint in the Get import validation/errors step until the status reaches dataimport.status.validated, then check statsErr and the errors array before continuing.
  • A file with the wrong column headers can revert to dataimport.status.uploaded instead of advancing, with a “File is not valid” message in errors. That is a failure—not a pending state.
Path Params
string
enum
required

The type of data being imported.
> Exact Formatting Required: importType is case-sensitive and does not trim whitespace (e.g., Payments works but payments returns 409 error, and trailing spaces cause the job to hang).
> Unlisted types fail silently here. A type not in the enum can be accepted at the upload step, but validation will sit at valinprogress indefinitely with no error recorded. If validation has not moved after a few minutes, check the type first.

int32
required

The ID of the data import record.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json