> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rescanning the documents

> Rescan documents through the ABBYY FlexiCapture Web Services API by requesting a task, replacing or adding page images, and then returning it to Scanning.

To verify the documents:

1. [Connect to Web Services API](/flexi-capture/api/using/connecting).
2. [Open a session](/flexi-capture/api/methods/open-session).
3. [Open a project](/flexi-capture/api/methods/open-project).
4. [Request a task](/flexi-capture/api/methods/get-task).
5. [Request the task information](/flexi-capture/api/methods/get-task-info).
6. [Open the batch specified in the task](/flexi-capture/api/methods/open-batch).
7. [Request the list of documents in the task](/flexi-capture/api/methods/get-task-documents).
8. [Replace images of pages](/flexi-capture/api/methods/replace-page-image) or add [documents](/flexi-capture/api/methods/add-new-document) / [pages](/flexi-capture/api/methods/add-new-page) / [images](/flexi-capture/api/methods/add-new-image).
9. [Return the task to the server](/flexi-capture/api/methods/close-task) in the Scanning stage.
10. [Close the project](/flexi-capture/api/methods/close-project).
11. [Close the session](/flexi-capture/api/methods/close-session).
