---
title: "Sends the client's complaint to Forbrugerombudsmanden (multipart/form-data: the letter in \"file\", the email's \"subject\" and \"body\" as the client wrote them, the \"lei\" of the company complaining, which must be one of the user's Danish LEIs, and optionally the \"contactEmail\" of the contact person). It is sent from the signed-in client's account email (also Reply-To), with a copy to the client, the contact person and Global FinReg, and the letter attached. Only for a letter this user analysed in the last LeiComplaint:AnalysedLetterHours that wasn't Global FinReg's own or an impersonation."
method: POST
path: "/api/lei-complaint/send"
tags: ["LeiComplaint"]
---

# Sends the client's complaint to Forbrugerombudsmanden (multipart/form-data: the letter in "file", the email's "subject" and "body" as the client wrote them, the "lei" of the company complaining, which must be one of the user's Danish LEIs, and optionally the "contactEmail" of the contact person). It is sent from the signed-in client's account email (also Reply-To), with a copy to the client, the contact person and Global FinReg, and the letter attached. Only for a letter this user analysed in the last LeiComplaint:AnalysedLetterHours that wasn't Global FinReg's own or an impersonation.

`POST /api/lei-complaint/send`

## Request

- Base URL: `https://api2.globalfinreg.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api2.globalfinreg.com/api/lei-complaint/send`
- Auth: API key in header `Authorization`

## Headers

- `x-imp-userid` string

## Response `200`

Sent: who it went to.

## Other responses

- `400`: No or unsupported file, or a missing or too long subject or text.
- `403`: The letter is Global FinReg's own or may impersonate Global FinReg (type Gfr.Api.Controllers.LeiComplaintController.BlockedLetterType), or "lei" isn't one of the user's Danish LEIs (type Gfr.Api.Controllers.LeiComplaintController.NotDanishType).
- `409`: This letter wasn't analysed by this user (recently): analyse it again first.
- `413`: The file is larger than the upload limit.
- `422`: The account has no usable email address to send from.
- `429`: Too many complaints sent; try again later.
- `502`: The email couldn't be sent.

---

[API](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation.md) · [All operations](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation/revisions/97e306fd0c82?raw)
