This endpoint allows a client to upload a binary file. The id returned in the response represents the file in Hypatos systems. It can be used in other endpoints, for example to initiate processing of the file to create a document holding captured data, or to include the file in a case.
Security
OAuth2(Required scopes: files.write)
- API EUhttps://api.cloud.hypatos.ai/v2/files
- API UShttps://api.cloud.hypatos.com/v2/files
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/files
curl -i -X POST https://api.cloud.hypatos.ai/v2/files \
-H "Authorization: Bearer <YOUR_TOKEN_HERE>" \
-H "Content-Type: application/pdf" \
-H "X-Hy-Filename: invoice.pdf" \
--data-binary @/path/to/your/document.pdfResponse
{ "id": "6040dc9680b782b365ea77d5" }