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

`GET | POST /api/v1/accounting/accountants.invitations.preview`

Permissions: `accounting:read`, `accounting:admin` · Roles: admin

MCP tool: `accounting_accountants_invitations_preview`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `email` | string |  | An email address. at most 320 characters. |
| `name` | string |  | A display name. at most 200 characters. |
| `firm` | string |  | at most 200 characters. |
| `message` | string |  | at most 2000 characters. |
| `preset` | enum |  | One of: `read`, `comment`, `prepare`. Default `"read"`. |
| `accessExpiresOn` | string or null |  | Default `null`. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/accountants.invitations.preview \
  -H "Authorization: Bearer $OATMILK_API_KEY"
```

Reference page: https://app.getoatmilk.com/docs/api/accountants.invitations.preview
