Administration

accountant.requests.create

Accountants only: ask for an extra permission with scope and reason, or for more time with kind more_time, an optional proposedUntil date and reason. Requires an idempotency key.

POST/api/v1/accounting/accountant.requests.create

Permissions

accounting:readaccounting:write

Who can call it

Retries

Idempotency key required

MCP

Not offered over MCP: Asking for more access and the welcome tour happen in the accountant's dashboard.

Fields

  • kindenum

    Which kind of record or job this is.

    scopemore_time

    Default "scope"

  • scopeenum
    commentcorrectionsperiodsdocumentsemail
  • proposedUntilstring
  • reasonstringRequired

    A short note saying why, kept in the record's history.

    3–1000 characters

  • idempotencyKeystringRequired

    Any 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/accountant.requests.create \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "reason": "Synthetic example from the docs",
  "scope": "comment"
}'
Response
{
  "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.

POST/api/v1/accounting/accountant.requests.create
curl https://app.getoatmilk.com/api/v1/accounting/accountant.requests.create \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "reason": "Synthetic example from the docs",
  "scope": "comment"
}'

More in Administration.