cURL
curl --request POST \ --url https://api.sandbox.monite.com/v1/files \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --header 'x-monite-version: <x-monite-version>' \ --form file='@example-file' \ --form file_type=ocr_results
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "file_type": "<string>", "md5": "<string>", "mimetype": "<string>", "name": "<string>", "region": "<string>", "s3_bucket": "<string>", "s3_file_path": "<string>", "size": 123, "url": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ocr_results
ocr_files
payables
receivables
delivery_notes
receipts
userpics
entity_logo
companies_logo
zip
identity_documents
additional_identity_documents
receivable_signatures
einvoices_xml
attachments
Successful Response