Administration

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.preview

Permissions

accounting:readaccounting:admin

Who can call it

admin

Retries

Safe to retry: it only reads

MCP

accounting_accountants_invitations_preview

Fields

  • emailstring

    An email address.

    at most 320 characters

  • namestring

    A display name.

    at most 200 characters

  • firmstring

    at most 200 characters

  • messagestring

    at most 2000 characters

  • presetenum
    readcommentprepare

    Default "read"

  • accessExpiresOnstring or null

    Default null

Example

curl https://app.getoatmilk.com/api/v1/accounting/accountants.invitations.preview \
  -H "Authorization: Bearer $OATMILK_API_KEY"
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.

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.