curl --request POST \
--url http://localhost:3000/api/contact/ingestion/validate \
--header 'Content-Type: application/json' \
--data '
{
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"columnMappings": [
{
"column": 0,
"field": "primaryPhone"
}
]
}
'Applies column mappings to the uploaded data and validates each row. Returns validation results with errors.
curl --request POST \
--url http://localhost:3000/api/contact/ingestion/validate \
--header 'Content-Type: application/json' \
--data '
{
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"columnMappings": [
{
"column": 0,
"field": "primaryPhone"
}
]
}
'