v50

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-1759238438.1 KB
Documents

Update a document

Update document title and description.

patch/v1beta/documents/{document_id}

Path parameters

document_idstring required

Document ID to update.

Example:doc_01h2xcejqtf2nbrexx3vqjhp41

Document ID to update.

Request body

descriptionstring nullable

New description (max 2000 characters).

titlestring nullable

New title (1-255 characters).

Response

Success

Example response

{
  "document": {
    "created_by": {
      "id": "user_01h2xcejqtf2nbrexx3vqjhp41"
    },
    "current_version": {
      "id": "ver_01h2abcd1234efgh5678jkmnpt"
    },
    "description": "Quarterly financial report for Q4 2024",
    "id": "doc_01h2xcejqtf2nbrexx3vqjhp41",
    "owner_organization_id": "org_01h2xcejqtf2nbrexx3vqjhp41",
    "title": "Q4 2024 Financial Report",
    "url": "https://app.factify.com/d/01h2xcejqtf2nbrexx3vqjhp41"
  }
}