accountants.invitations.preview
Preview the invitation email (subject, HTML and plain text) for an access level, end date, name and message before sending it. Sends nothing and contains no private link.
GETPOST
/api/v1/accounting/accountants.invitations.previewPermissions
accounting:readaccounting:admin
Who can call it
admin
Retries
Safe to retry: it only reads
MCP
accounting_accountants_invitations_previewFields
emailstringAn email address.
at most 320 characters
namestringA display name.
at most 200 characters
firmstringat most 200 characters
messagestringat most 2000 characters
presetenumreadcommentprepareDefault "read"
accessExpiresOnstring or nullDefault null
Example
curl https://app.getoatmilk.com/api/v1/accounting/accountants.invitations.preview \
-H "Authorization: Bearer $OATMILK_API_KEY"{
"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.
GET/api/v1/accounting/accountants.invitations.preview
curl https://app.getoatmilk.com/api/v1/accounting/accountants.invitations.preview \
-H "Authorization: Bearer $OATMILK_API_KEY"More in Administration.