cURL
curl --request POST \ --url https://folksbase.onrender.com/api/imports \ --header 'Authorization: Bearer <token>'
{ "importId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "preview": { "headers": [ "<string>" ], "rows": [ [ "<string>" ] ], "totalRows": 123 }, "suggestions": [ { "header": "<string>", "field": "<string>", "confidence": "high" } ] }
Uploads a CSV file and returns a preview with AI-suggested column mappings. Max 200 MB.
Supabase JWT token from Authorization header
Upload successful with preview
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Show child attributes