# Indexed

> Copyleaks indexed the submitted file in its Shared Data Hub or repository.

Copyleaks allows users to upload and index their existing documents into the Copyleaks Shared Data Hub without performing a scan. This feature enables future submissions to be compared against these stored documents for enhanced plagiarism detection.

To activate the indexing mode, submit your content with the `properties.action=2` parameter. Indexing documents to the Copyleaks Shared Data Hub is free of charge.

Once the document is processed, a webhook will notify you of the indexing status:

- __Success:__ A webhook will confirm that your document has been indexed successfully.
- __Error:__ If indexing fails, an error webhook will be triggered, providing details about the reason for the failure.

<br />
<ParamField path="status" type="integer">
  The current status of the scan. Possible values: 0 (Success), 1 (Error), 2 (CreditsChecked), 3 (Indexed)
</ParamField>
<ParamField path="developerPayload" type="string">
  The developer payload that was provided in the submit method.

      `<= 512` characters
</ParamField>
## Example

```json
{
  "status": 3,
  "developerPayload": "Custom developer payload"
}
```

## Next Steps

<CardGroup cols={2}>
  <Card title="Webhooks Overview" icon="plug" href="/reference/data-types/authenticity/webhooks/overview/">Learn about the different types of webhooks and how to handle them.</Card>
  <Card title="Submit File for Scan" icon="file-arrow-up" href="/reference/actions/authenticity/submit-file/">Learn how to submit files for scanning, including enabling indexing.</Card>
  <Card title="Compare Multiple Documents" icon="magnifying-glass" href="/concepts/features/data-hubs/">Understand how to compare documents within your Private Cloud Hub and against other sources.</Card>
</CardGroup>
