> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.withpersona.com/2025-12-08/api-reference/documents/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.withpersona.com/_mcp/server. # Documents > Use the Documents API to access files and metadata submitted during an Inquiry. A document is a written, printed, or electronic matter provided by an individual, such as a government ID or a utility bill. An inquiry can contain zero or more documents. Each inquiry’s relationships field lists the IDs of all associated documents. For more info about fetching file URLs, see [Downloading Files](/downloading-files). Check for the following statuses of a document. | Document Status | Description | | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Initiated | When the individual is first asked to provide a document, the document is initiated. During this time, a document can be uploaded with files before submitting it for processing. | | Submitted | When the individual submits their document, the server processes the document. | | Processed | The server is done processing the document. | | Errored | If the server fails to process the document. | > Use the Documents API to access files and metadata submitted during an Inquiry. ## API Docs - Documents [Retrieve a Generic Document](https://docs.withpersona.com/api-reference/documents/retrieve-a-generic-document.md) - Documents [Retrieve a Government Id Document](https://docs.withpersona.com/api-reference/documents/retrieve-a-government-id-document.md) - Documents [Retrieve a Document](https://docs.withpersona.com/api-reference/documents/retrieve-a-document.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.withpersona.com/2025-12-08/api-reference/documents/openapi.json) - [OpenAPI YAML](https://docs.withpersona.com/2025-12-08/api-reference/documents/openapi.yaml)