Skip to main content
POST
Validate donor data without persisting to database

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Body

application/json
filename
string

S3 filename of the CSV

fields
object

Mapping of CSV columns to field keys

program_id
integer

Program ID

hysform_id
integer

Donor form ID

household
boolean

Enable household feature

householdColumn
string

Household column name

updateExisting
boolean

Update existing records instead of creating new ones

allowTypeTransitions
boolean

Allow reviewed donor rows to change between Individual and Organization

uniqueIdentifierColumn
string

CSV column position for unique identifier

uniqueIdentifierField
string

Database field name to query by for finding existing records

offset
integer

Header row offset

Response

Validation job queued successfully

message
string
Example:

"Donor validation has been queued."

validation_job_id
integer
Example:

123