Sending documents to our API is very straight forward. You'll just neet to send a multipart/form-data request with the file binary you wish to extract.
curl -X POST [...]/api/v2/documents/annotate
-H "accept: application/json"
-H "Authorization: Bearer <Your access token>"
-H "Content-Type: multipart/form-data"
And that's it!
We currently have a file size limit of 25Mb for the upload and support the following media types:
In case you don't build your request with the media type information, we'll try to infer it from the file's name extension.