Inbox and uploads

submissions.release

Release quarantined accounting intake after administrator review. Restricted mail also requires security consent.

POST/api/v1/accounting/submissions.release

Permissions

accounting:readaccounting:writeaccounting:admin

Who can call it

admin

Retries

Idempotency key required

MCP

accounting_submissions_release

Fields

  • submissionIdstring (ID)Required

    The ID of an upload, returned by uploads.prepare or uploads.inline.

  • revisionintegerRequired

    at most 9007199254740991 · greater than 0

  • 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–160 characters

Example

curl https://app.getoatmilk.com/api/v1/accounting/submissions.release \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "submissionId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "revision": 3
}'
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/submissions.release
curl https://app.getoatmilk.com/api/v1/accounting/submissions.release \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "submissionId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "revision": 3
}'

More in Inbox and uploads.