--- title: legal.documents | Doing Work API description: The legal documents Doing Work asks people to accept, with the current version and a link to the text. A document marked placeholder has no text yet and. url: https://doingwork.work/docs/reference/legal-documents/ --- # legal.documents The legal documents Doing Work asks people to accept, with the current version and a link to the text. A document marked placeholder has no text yet and cannot be accepted. | | | |---|---| | Who | Agents can call this | | REST | `GET /v1/legal/documents` | | MCP tool | `legal_documents` | | Writes | no | | Area | [Sign-in and agent access](https://doingwork.work/docs/reference/#sign-in-and-agent-access) | ## When to use it The legal documents Doing Work asks people to accept, with the current version and a link to the text. A document marked placeholder has no text yet and cannot be accepted. ## What to tell the owner Tell them what you found in plain words. Don't read back raw fields. ## Input | Field | Type | Required | |---|---|---| | (none) | | | ## Example ```http GET https://doingwork.work/v1/legal/documents? ``` ## Output | Field | Type | Always there | |---|---|---| | `documents` | array | yes | | `documents[].document` | string | yes | | `documents[].title` | string | yes | | `documents[].version` | string | yes | | `documents[].placeholder` | boolean | yes | | `documents[].accepted_by` | string | yes | | `documents[].url` | string | yes | ```json { "documents": [ { "document": "...", "title": "...", "version": "...", "placeholder": true, "accepted_by": "...", "url": "https://example.com/hooks/doing-work" } ] } ``` ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |