Update document comment status

PATCH/api/v1/documents/{ref}/comments/{commentRef}

Resolve or reopen a document comment

Permission

An OAuth access token with this scope. How to get a token

comments:write
Create, resolve, and reopen comments.

Parameters

Not sure what to enter? Here’s where to find IDs.

refpath · stringrequired
The 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+$.
commentRefpath · stringrequired
The comment to change. Use the commentRef from List document comments.
client_idquery · stringrequired
The 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.

statusstringrequired
One of resolve, reopen.

Responses

200Updated comment.
dataobjectrequired
Fields
idstringrequired
commentRefstringrequired
documentIdstringrequired
documentRefstring or nullrequired
bodystringrequired
statusstringrequired
One of open, resolved.
authorIdstringrequired
authorNamestringrequired
authorEmailstringrequired
createdAtstring (date-time)required
updatedAtstring (date-time)required
resolvedAtstring (date-time) or nullrequired
400Invalid request or validation failure.
dataobjectrequired
Fields
statusstringrequired
Always error.
messagestringrequired
codestring
documentRefstring
assetGenerationIdstring
errorsarray of object
Item fields
fieldstringrequired
messagestringrequired
401Missing or invalid bearer token or client ID.
errorstringrequired
error_descriptionstring
403Insufficient scope, missing add-on, usage limit, or permission denial.

Exactly one of these:

OAuthError
errorstringrequired
error_descriptionstring
ApiErrorEnvelope
dataobjectrequired
Fields
statusstringrequired
Always error.
messagestringrequired
codestring
documentRefstring
assetGenerationIdstring
errorsarray of object
Item fields
fieldstringrequired
messagestringrequired
404Requested resource was not found in the token's company.
dataobjectrequired
Fields
statusstringrequired
Always error.
messagestringrequired
codestring
documentRefstring
assetGenerationIdstring
errorsarray of object
Item fields
fieldstringrequired
messagestringrequired

Rate limit

120 requests a minute per company, shared across REST, Zapier and MCP. On a 429, wait for Retry-After.