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"   
 -F "files=@<path_to_your_file>>;type=<your_file_mimetype>"  

And that's it!

We currently have a file size limit of 25Mb for the upload and support the following media types:

  • application/pdf
  • image/jpeg
  • image/png
  • image/tiff

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.

Language
Authorization
Header
URL
Click Try It! to start a request and see the response here!