---
title: "Add a flag to a person"
method: POST
path: "/v1/persons/{personId}/flags"
tags: ["Persons"]
---

# Add a flag to a person

`POST /v1/persons/{personId}/flags`

Apply a flag to a person.

**Person flags differ from other entity flag endpoints**: adding a flag does not create a history record — it tags the person with the flag type directly. This operation is **idempotent**: if the flag is already applied the request succeeds with 204 No Content and the person's flags are unchanged.

The `flagId` must be a flag type ID configured for the `ContactUser` entity type. Use `GET /flags?entityType=ContactUser` (requires the `flags:read` scope) to find valid flag IDs for this customer. (required scope contacts:persons:write)

## Path parameters

- `personId` string, uuid, required

## Headers

- `Customer-Id` integer, required

## Request body

- AddPersonFlagModel — Request body for adding a flag to a person
  - `flagId` integer — The ID of the flag to apply to the person

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/bigchange/apis/bigchange-dx.md) · [All operations](https://skmtc.net/bigchange/apis/bigchange-dx/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigchange/bigchange-dx/revisions/916e669fc527/schema)
