Update document metadata and custom fields
Permission
An OAuth access token with this scope. How to get a token
documents:writeCopy, update, and transfer documents and recipients.
Parameters
Not sure what to enter? Here’s where to find IDs.
refpath · stringrequiredThe document’s number, shown as
#1234 in the ID column of your documents list and beside the title in the editor. Enter it without the #. In API responses it’s displayId.Matches ^\d+$. client_idquery · stringrequiredThe Client ID of your OAuth client. It’s public, and goes on every request alongside your access token. Find it in QuoteCloud under Settings → API dashboard → Manage Integrations → OAuth Clients.Length at least 1.
Request body
Sent as application/json.
titlestringLength at least 1.
subtitlestringrenewalDatevariesFields
Exactly one of these:
Option 1string (date-time)Option 2numberforecastDatevariesFields
Exactly one of these:
Option 1string (date-time)Option 2numberconfidencevariesFields
Exactly one of these:
Option 1numberOption 2stringMatches
^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$. estimatedValuevariesFields
Exactly one of these:
Option 1numberOption 2stringMatches
^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$. clearFieldsarray of stringcustomFieldsobjectFields
^custom(?:f|F)ield\d+$keys matching · anyResponses
200Updated document summary.
dataobjectrequiredFields
idstringrequireddocumentRefstringrequireddisplayIdintegerrequiredtitlestringrequiredstatusstringrequiredsourcestringrequiredownerEmailstringrequiredcreatedAtstring (date-time)requiredstatusChangedAtstring (date-time)updatedAtstring (date-time)requiredsubtitlestringrenewalDatestring (date-time) or nullforecastDatestring (date-time) or nullconfidencenumber or nullestimatedValuenumber or null400Invalid request or validation failure.
dataobjectrequiredFields
statusstringrequiredAlways
error. messagestringrequiredcodestringdocumentRefstringassetGenerationIdstringerrorsarray of objectItem fields
fieldstringrequiredmessagestringrequired401Missing or invalid bearer token or client ID.
errorstringrequirederror_descriptionstring403Insufficient scope, missing add-on, usage limit, or permission denial.
Exactly one of these:
OAuthError
errorstringrequirederror_descriptionstringApiErrorEnvelope
dataobjectrequiredFields
statusstringrequiredAlways
error. messagestringrequiredcodestringdocumentRefstringassetGenerationIdstringerrorsarray of objectItem fields
fieldstringrequiredmessagestringrequired404Requested resource was not found in the token's company.
dataobjectrequiredFields
statusstringrequiredAlways
error. messagestringrequiredcodestringdocumentRefstringassetGenerationIdstringerrorsarray of objectItem fields
fieldstringrequiredmessagestringrequiredRate limit
120 requests a minute per company, shared across REST, Zapier and MCP. On a 429, wait for Retry-After.