tags.create
Create a project tag with name and idempotencyKey, and optionally parentId (a group; groups are one level deep), color (gray, red, orange, amber, green, teal, blue, purple or pink), description, aliases (other names people write), startsOn/endsOn (the event window) and budgetMinor with budgetCurrency. Active tag names are unique.
/api/v1/accounting/tags.createPermissions
Who can call it
Retries
MCP
accounting_tags_createFields
namestringRequiredA display name.
1–80 characters
descriptionstringA short description.
at most 500 characters
colorenumgrayredorangeambergreentealbluepurplepinkaliasesarray of stringsat most 10 items · each 2–60 characters
parentIdstring (ID)The ID of the related record.
startsOnstringendsOnstringbudgetMinorstringAn amount in cents (the currency's smallest unit), written as a whole-number string such as "1250" for $12.50.
Whole number written as a string
budgetCurrencystringThree-letter currency code, such as CAD
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/tags.create \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"name": "Synthetic Ventures Inc."
}'{
"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/tags.create \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"name": "Synthetic Ventures Inc."
}'More in Transactions.