Accept every pending revision on a document
One derived draft carries all pending edits — a single tracked- changes .docx when output=docx. All accepted revisions point at the same derived_document_id.
POST
/revisions/accept-allAuthorization
AuthorizationBearer token · headerrequiredPass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.
Request body
requiredapplication/jsondocument_idstringrequiredoutputstringAllowed:
pdfdocxResponses
200
Derived document + accept count
derived_document_idstringacceptedinteger404
Resource not found
typestringrequiredMachine-readable error code
statusintegerrequiredHTTP status code
titlestringrequiredHuman-readable error message
detailsobjectField-level validation errors
409
Nothing pending