cURL
curl --request POST \ --url https://{subdomain}.mihu.ai/api/v1/data/import/file \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'name=Customer Data' \ --form file='@example-file' \ --form 'description=Imported customer data from XML file'
{ "success": true, "message": "File uploaded successfully and processing has begun", "data": { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "type": "<string>", "path_url": "<string>", "path_ext": "<string>", "status": 123, "process": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Imports data from an uploaded file (CSV, Excel, JSON, PDF, XML, or Audio up to 128MB).
Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"
"Customer Data"
File to upload (CSV, Excel, JSON, PDF, XML, or Audio, max 128MB)
"Imported customer data from XML file"
File successfully uploaded and processing started
true
"File uploaded successfully and processing has begun"
Show child attributes