> You are reading the Docusign Developer Documentation. For clean Markdown of any page, append .md to the page URL. > > Documentation indexes by section: > - APIs and SDKs: https://docusign.docs.buildwithfern.com/docs/llms.txt > - Platform 101: https://docusign.docs.buildwithfern.com/platform/llms.txt > - Extension Apps: https://docusign.docs.buildwithfern.com/extension-apps/llms.txt > - Docusign CLI: https://docusign.docs.buildwithfern.com/docusign-cli/llms.txt > > Authentication (OAuth, JWT Grant, M2M): https://docusign.docs.buildwithfern.com/platform/auth > Webhooks and Connect: https://docusign.docs.buildwithfern.com/platform/webhooks > > OpenAPI specifications: https://docusign.docs.buildwithfern.com/openapi.json > MCP server: https://docusign.docs.buildwithfern.com/_mcp/server # WorkspaceDocuments Resource ## Methods supported | Method | Description | | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | | [addWorkspaceDocument](/docs/workspaces-api/reference/workspaces/workspacedocuments/addworkspacedocument) | POST `/v1/accounts/{accountId}/workspaces/{workspaceId}/documents` Add a document to a workspace via file contents upload | | [deleteWorkspaceDocument](/docs/workspaces-api/reference/workspaces/workspacedocuments/deleteworkspacedocument) | DEL `/v1/accounts/{accountId}/workspaces/{workspaceId}/documents/{documentId}` Deletes a document in the workspace | | [getWorkspaceDocument](/docs/workspaces-api/reference/workspaces/workspacedocuments/getworkspacedocument) | GET `/v1/accounts/{accountId}/workspaces/{workspaceId}/documents/{documentId}` Get information about the document | | [getWorkspaceDocumentContents](/docs/workspaces-api/reference/workspaces/workspacedocuments/getworkspacedocumentcontents) | GET `/v1/accounts/{accountId}/workspaces/{workspaceId}/documents/{documentId}/contents` Get the file contents of the document | | [getWorkspaceDocuments](/docs/workspaces-api/reference/workspaces/workspacedocuments/getworkspacedocuments) | GET `/v1/accounts/{accountId}/workspaces/{workspaceId}/documents` Get documents in the workspace accessible to the calling user | ## API Docs - WorkspaceDocuments [Add a document to a workspace via file contents upload](https://developers.docusign.com/docs/workspaces-api/reference/workspaces/workspacedocuments/addworkspacedocument.md) - WorkspaceDocuments [Deletes a document in the workspace](https://developers.docusign.com/docs/workspaces-api/reference/workspaces/workspacedocuments/deleteworkspacedocument.md) - WorkspaceDocuments [Get information about the document](https://developers.docusign.com/docs/workspaces-api/reference/workspaces/workspacedocuments/getworkspacedocument.md) - WorkspaceDocuments [Get the file contents of the document](https://developers.docusign.com/docs/workspaces-api/reference/workspaces/workspacedocuments/getworkspacedocumentcontents.md) - WorkspaceDocuments [Get documents in the workspace accessible to the calling user](https://developers.docusign.com/docs/workspaces-api/reference/workspaces/workspacedocuments/getworkspacedocuments.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://developers.docusign.com/openapi.json) - [OpenAPI YAML](https://developers.docusign.com/openapi.yaml)