compliance.items.create
Add a custom compliance checklist item with title, what to do, why, dueDate, category, optional https citations, an optional in-app link (actionHref, a workspace page path starting with /, /finance, /legal or /people) and an optional owner. Custom items get the same reminders as built-in rules. Requires an idempotencyKey.
/api/v1/accounting/compliance.items.createPermissions
Who can call it
Retries
MCP
accounting_compliance_items_createFields
titlestringRequiredA short title.
1–200 characters
whatstringRequired1–4000 characters
whystringat most 4000 characters · Default ""
dueDatestringRequiredThe date payment is due, as YYYY-MM-DD.
categoryenumcorporate_filingsincome_taxsales_taxpayrollinformation_returnsbookkeepingotherDefault "other"
citationsarray of objectsat most 10 items · Default []
actionHrefstringat most 500 characters · Matches ^\/(?:(?:accounting|ops|inbox|checklist|calendar|ai|compliance|chief-of-staff|logs|history|developers|settings|finance|legal|people|insights)(\/[A-Za-z0-9_/-]*)?)?(\?[A-Za-z0-9_.=&%:-]*)?$
notesstringNotes kept with the record.
at most 4000 characters · Default ""
assigneeUserIdstring1–200 characters
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–200 characters
Example
curl https://app.getoatmilk.com/api/v1/accounting/compliance.items.create \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"title": "Synthetic services agreement",
"what": "example",
"dueDate": "2026-09-30"
}'{
"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/compliance.items.create \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"title": "Synthetic services agreement",
"what": "example",
"dueDate": "2026-09-30"
}'More in Compliance.