documents.suggestions.list
List suggested changes to an agreement template (open ones by default, or all with status all). Each open suggestion includes a preview of what accepting it would do to the template as it is now: the blocks before and after and a line per change, or why it no longer applies.
GETPOST
/api/v1/accounting/documents.suggestions.listPermissions
accounting:read
Who can call it
admin, finance
Retries
Safe to retry: it only reads
MCP
accounting_documents_suggestions_listFields
documentType"agreement_template"RequireddocumentIdstring (ID)RequiredThe ID of the related record.
statusenumOnly include records with this status.
openallDefault "open"
limitintegerHow many results to return at most.
1 to 100 · Default 50
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/documents.suggestions.list \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'documentType=agreement_template' \
--data-urlencode 'documentId=1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
GET/api/v1/accounting/documents.suggestions.list
curl -G https://app.getoatmilk.com/api/v1/accounting/documents.suggestions.list \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'documentType=agreement_template' \
--data-urlencode 'documentId=1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d'More in Documents and signing.