cURL
curl --request POST \ --url https://api.ai2fin.com/api/chat/upload \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'files=<string>' \ --form files.items='@example-file'
{ "success": true, "data": { "files": [ { "assetUrl": "<string>", "fileName": "<string>", "mimeType": "<string>", "size": 123 } ] } }
Upload one or more files (receipts, invoices, documents) for assistant processing
Documentation IndexFetch the complete documentation index at: https://docs.ai2fin.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.ai2fin.com/llms.txt
Use this file to discover all available pages before exploring further.
JWT token obtained from /api/enterprise-auth/login endpoint. Use for standard API access and OAuth-based integrations.
Files uploaded
Show child attributes
Was this page helpful?