Our APIs accept either -
- URLs of documents, or
- Documents as base64 encoded strings (Recommended size is less than 1 MB)
You could use our upload endpoint to generate these URLs as well.
You could also send us URLs of documents hosted on your servers. These URLs need to be accessible to our servers, but can be protected against unauthorised access using some or al l of the mechanisms below.
There are several ways to protect URLs of images hosted on your servers -
- Use URLs which expire after a brief period of time
- Whitelist the IPs of our servers which fetch documents from your servers
- Pre-configure custom authentication headers which we could attach to every request we make to fetch documents from your service