documentRequests.send
Email a document request with an expiring private upload link and an authenticated reply path. Requires a recipient and idempotency key.
/api/v1/accounting/documentRequests.sendPermissions
Who can call it
Retries
MCP
accounting_document_requests_sendReaches outside Oatmilk
Fields
entryIdstring (ID)The ID of an accounting entry, from entries.list or attention.mine.
contractorIdstring (ID)The ID of a contractor, from contractors.list.
emailstring (email)RequiredAn email address.
at most 254 characters
titlestringRequiredA short title.
3–160 characters
messagestringat most 2000 characters · Default ""
idempotencyKeystringRequiredAny unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.
8–160 characters
Example
curl https://app.getoatmilk.com/api/v1/accounting/documentRequests.send \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"email": "finance@example.com",
"title": "Synthetic services agreement"
}'{
"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.
curl https://app.getoatmilk.com/api/v1/accounting/documentRequests.send \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"email": "finance@example.com",
"title": "Synthetic services agreement"
}'More in Inbox and uploads.