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
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
}
]
}
}