Reduce latency
The Verify API processing is fast, however image uploads and downloads can take some time. Use the following techniques to reduce latency:
- Use the Verify SDK instead of direct API calls. The Verify SDK automatically applies all possible image optimizations before sending requests.
- Return only the images you need. All image returns are off by default, so enable only the ones you actually use. See returning images. Every returned image increases the size of the response.
- Compress and resize images. If you're not using the Verify SDK, compress and resize images before uploading. Follow the image requirements when doing so.
- Disable checks you don't need.
For example, if you accept photocopies, set
photocopySensitivitytoDisabled.