Portfolio
Extract portfolio at a Sensible URL
Use this endpoint with multiple documents that are packaged into one file (a “portfolio”). For a list of supported file types, see Supported file types. Segments a portfolio file into the specified document types (for example, 1099, w2, and bank_statement) and then runs extractions asynchronously for each document Sensible finds in the portfolio. Take the following steps -
- Use this endpoint to generate a Sensible URL.
- PUT the document you want to extract data from at the URL, where
SENSIBLE_UPLOAD_URLis the URL you received from this endpoint’s response. For more information about how to PUT the document, see the generate_upload_url/ endpoint. - To retrieve the extraction, use a webhook, or use the extraction
idreturned in the response to poll the GET documents/ endpoint. For more about extracting from portfolios, see Multi-document extractions.

