## Request fields for reindex
The following fields can be used in the reindex method:
|folder||Optional||The folder that you want to reindex. If not specified, all folders belonging to the user will be reindexed.|
|id||Optional||The job to check status of. If id is present, folder is ignored.|
|user||Required||The user whose account you want to reindex.|
## Response fields for reindex
The following fields may be returned in response to the reindex method:
|error||Returned if **success = false**||A text string that explains the error.|
|error_number||Returned if **success = false**||A number that represents the error.|
|success||Always returned||Indicates whether the request was successful or not. Allowed values are true and false.|
## Examples for reindex
## Example 1
This example reindexes the Inbox folder for account [[email protected]](🔗)
## Example 2
This example checks to see if the reindexing job completed and includes four possible responses.
**Response A** The job still pending.
The job is processing.
The job has completed.
The job ended with an error.