---
title: "Invite a person to a client's app as Member, CFO or Admin (p13,"
method: POST
path: "/accountant/companies/{customerId}/invites"
tags: ["Accountants"]
---

# Invite a person to a client's app as Member, CFO or Admin (p13,

`POST /accountant/companies/{customerId}/invites`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/invites`
- Auth: HTTP bearer

The firm admin only (403 otherwise). Roles Member, CFO, Admin; Viewer stays the client owner's and Owner is never invited (422). Sends the customer app's invite email and writes its audit row (invite.created or invite.reissued) with the firm admin as actor.

## Path parameters

- `customerId` string, uuid, required

## Request body

- CreateUserInviteInput
  - `email` string, email, required
  - `role` 'Admin' | 'CFO' | 'Member'

## Response `201`

The invite

- object
  - `success` boolean
  - `data` UserInvite
    - `id` string, uuid
    - `companyId` string, uuid
    - `companyName` string
    - `email` string, email
    - `role` 'Admin' | 'CFO' | 'Member'
    - `invitedByUserId` string, uuid, nullable
    - `expiresAt` string, date-time
    - `acceptedAt` string, date-time, nullable
    - `acceptedByUserId` string, uuid, nullable
    - `revokedAt` string, date-time, nullable
    - `revokedByUserId` string, uuid, nullable
    - `lastSentAt` string, date-time, nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `422`: Request failed validation

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/invites/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
