---
title: "Who a person may write to at a client, from People in Facts and rules (#2587 p5-B)"
method: GET
path: "/accountant/companies/{customerId}/message-recipients"
tags: ["Accountant Portal"]
---

# Who a person may write to at a client, from People in Facts and rules (#2587 p5-B)

`GET /accountant/companies/{customerId}/message-recipients`

## Request

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

The New message drawer's To and Cc list. A person is listed when the client's company membership has an email and a confirmed People fact (primary contact, signer / tax contact, who holds bank logins) names them by email or full name. `role` is the fact's label (`Primary contact`, `Signer / tax contact`); `holdsLogin` is true when the bank-login fact names them. A client with no confirmed People fact answers an empty list: the screen says to add them in Facts and rules first. `personKey` is `member:<userId>` and is what `POST /accountant/messages` takes. Read-only. A signed-in person only: every API key is refused, the service token included (404).

## Path parameters

- `customerId` string, uuid, required

## Response `200`

The people who may be ticked

- object
  - `success` true, required
  - `data` object[], required
    - `personKey` string, required
    - `name` string, required
    - `role` string, required
    - `email` string, required
    - `holdsLogin` boolean, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found

## Changes

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

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/message-recipients/get.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)
