---
title: "Approve Mappings"
method: POST
path: "/api/anonymization/mappings"
tags: ["anonymization"]
---

# Approve Mappings

`POST /api/anonymization/mappings`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/anonymization/mappings`
- Auth: HTTP bearer

Approve candidates: hash + store aliases, discard plaintext.

## Request body

- ApproveMappingsRequest
  - `business_id` string, uuid, required
  - `mappings` object[], required: [{"real": "...", "alias": "...", "kind": "company"}]

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
