Custom queryUpdate custom-question fields

Update custom-question fields

Updates custom question configuration or answer fields for a Vault document.

Legacy note: this endpoint is maintained for existing V2 integrations. Prefer V3 for new API and agent workflows where an equivalent exists.

curl -X PATCH "https://api.textmine.com/v1/vault/example_string/document/example_string/custom-question" \
  -H "Content-Type: */*" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '""{\
    \\"questions\\": [\
        {\
            \\"id\\": 1,\
            \\"question\\": \\"test1\\",\
            \\"label\\": \\"test1\\",\
            \\"description\\": \\"desc\\",\
             \\"mustProcessed\\": true,\
             \\"validated\\":true\
        }\
    ]\
}""'
{}
PATCH
/v1/vault/{vaultId}/document/{documentId}/custom-question
PATCH
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Bearer token - just enter the token, "Bearer" prefix will be added automatically

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Authentication token required.

Path Parameters

Headers

Content-Typestring
Example:
application/json
Authorizationstring
Example:
Bearer <ACCESS_TOKEN>

Body

*/*

Responses

Successful response