Sign in

Preview CSV Upload

documented

Preview a CSV upload (shows generated statements and errors) before full import.

POST /api/organizations/{org_id}/statement-import/previewCSV Importno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$watershed_base_url}}/api/organizations/{{$org_id}}/statement-import/preview" \
  -u "{{$WATERSHEDLRS_API_KEY}}:{{$WATERSHEDLRS_SECRET}}" \
  -F "file=@{{$csv_path}};type=text/csv" \
  -F "filesize={{$filesize}}" \
  -F "template={{$template}}" \
  -H "Accept: application/json"