This is a sample script to use FormX multiple document detection endpoint. FormX can detect the different documents from a single image and return their types and bounding boxes.
To use the feature, sign up on https://formx.ai to obtain an access token.