/v1/workspace/document-typesList the workspace's document types
Every document type a file, a document request, a record's checklist standing, a checklist rule, a result mapping or a message template may name: builtIn, the app's own words each with its label (bank_statement as Bank statement, …), and custom, the workspace's own processor-v2 types each as {word, name} (word is custom_, the value to send). customAvailable is false, with note saying why, when this deployment has no processor-v2 — then only the built-ins exist. A custom word not in this list is refused 422 document_type_unknown by every write. Any seat.
Access class: workspace.
Send request
Use the documented inputs to call this endpoint directly.
Responses
the action's answer
{
"data": {
"builtIn": [
{
"label": "string",
"word": "string"
}
],
"custom": [
"string"
],
"customAvailable": true,
"note": "string"
}
}a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}