Overview
TheAnyParser API has asynchronous endpoints for its parsing and extraction features. These are asynchronous endpoints that will return a file ID. You can use this file ID to fetch the results of the extraction at a later time. Consider using if you have longer or more complex files. These async endpoints have a timeout of 180 seconds.
There are 2 async endpoints:
Generally, for all async requests, you would upload a file via the
/async/upload endpoint, get its file_id, and then poll the /async/fetch endpoint to get the result.
/async/upload
This endpoint is used to upload a file with a specifiedprocess_type and get a file ID.
You can specify the following for the process_type:
For more details on how to call this endpoint see the Async Upload Endpoint Example.
/async/fetch
Once you have retrieved thefile_id from the /async/upload endpoint, you then send that file_id to the /async/fetch endpoint to retrieve the result.
For more details on how to call this endpoint see the Async Upload Endpoint Example.
