Private preview of the new site. Not live.

legal.accept

Record that the signed-in person accepts the current version of a legal document (clickwrap). The person does this themselves; an agent cannot accept for them. Refused while the document is a placeholder or when the version is not the current one.

WhoA person's own sign-in only (agent tokens are refused)
RESTPOST /v1/legal/accept
MCP toolNot an MCP tool
Writesyes, send an Idempotency-Key
AreaSign-in and agent access

When to use it

Record that the signed-in person accepts the current version of a legal document (clickwrap). The person does this themselves; an agent cannot accept for them.

What to tell the owner

Ask the person to do this with their own sign-in. Your agent token is refused here.

Input

FieldTypeRequired
documentstring (one of terms, privacy)yes
versionstringyes

Example

POST https://doingwork.work/v1/legal/accept
content-type: application/json
Idempotency-Key: 3f1c...

{
  "document": "terms",
  "version": "..."
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.