Accountants

Create a new accountant (super-admin only)

Changed on

Creates a new user + accountant profile. Gated behind a super-admin email check — only callers whose JWT email matches SUPER_ADMIN_EMAILS (default: augusto@medianfi.com) may invoke this endpoint.

post/accountants

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Request body

CreateAccountantInput required
email, string email required
firstName, string required
lastName, string required
password, string required
displayName, string
title, string
credentials, string[]
role, 'preparer' | 'reviewer' | 'firm_admin'
assignAll, boolean

If true, assign the new accountant to every existing company.

Response

Accountant created

CreateAccountantResponse required
success, boolean
data, object

Changes

    • breaking

      the data/accountant response's property type changed from object to no type for status

    • warning

      removed the optional property data/accountant/avatarUrl from the response with the status

    • warning

      removed the optional property data/accountant/bio from the response with the status

    9 more changes in this revision