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.
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.
Example
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 |
{
"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. |