> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://developers.awork.com/apiv1/document-files/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.awork.com/_mcp/server. # Document Files ## API Docs - Document Files [Creates external file references for the specified document.](https://developers.awork.com/apiv1/document-files/post-external-files-by-document-name-and-document-id.md) - Document Files [Returns all files of the specified document.](https://developers.awork.com/apiv1/document-files/get-files-by-document-name-and-document-id.md) - Document Files [Uploads a file for the specified document.](https://developers.awork.com/apiv1/document-files/post-files-by-document-name-and-document-id.md) - Document Files [Deletes all files and versions for the specified document.](https://developers.awork.com/apiv1/document-files/delete-files-by-document-name-and-document-id.md) - Document Files [Uploads a file from a public URL for the specified document.](https://developers.awork.com/apiv1/document-files/post-files-by-url-by-document-name-and-document-id.md) - Document Files [Returns the file with the specified id of the document with the specified id.](https://developers.awork.com/apiv1/document-files/get-files-by-document-name-and-document-id-and-file-id.md) - Document Files [Updates metadata for the specified file.](https://developers.awork.com/apiv1/document-files/put-files-by-document-name-and-document-id-and-file-id.md) - Document Files [Deletes the specified document file and its versions.](https://developers.awork.com/apiv1/document-files/delete-files-by-document-name-and-document-id-and-file-id.md) - Document Files [Copies the specified file to another document.](https://developers.awork.com/apiv1/document-files/post-files-copy-by-document-name-and-document-id-and-file-id.md) - Document Files [Returns the latest content of the specified document file.](https://developers.awork.com/apiv1/document-files/get-files-download-by-document-name-and-document-id-and-file-id.md) - Document Files [Returns a public URL for the specified file.](https://developers.awork.com/apiv1/document-files/get-files-share-url-by-document-name-and-document-id-and-file-id.md) - Document Files [Returns all versions of the specified document file.](https://developers.awork.com/apiv1/document-files/get-files-versions-by-document-name-and-document-id-and-file-id.md) - Document Files [Uploads a new version of the specified document file.](https://developers.awork.com/apiv1/document-files/post-files-versions-by-document-name-and-document-id-and-file-id.md) - Document Files [Returns the document file version with the specified id.](https://developers.awork.com/apiv1/document-files/get-files-versions-by-document-name-and-document-id-and-file-id-and-version-id.md) - Document Files [Returns the content of the specified document file version.](https://developers.awork.com/apiv1/document-files/get-files-versions-download-by-document-name-and-document-id-and-file-id-and-version-id.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://developers.awork.com/apiv1/document-files/openapi.json) - [OpenAPI YAML](https://developers.awork.com/apiv1/document-files/openapi.yaml)