---
title: "Upsert person"
method: POST
path: "/api/v1/cdp/people"
tags: ["CDP People"]
---

# Upsert person

`POST /api/v1/cdp/people`

Create or update a person by external id. Free-form attributes are fully replaced on each write.

## Request body

- object
  - `externalId` string, required — Your stable identifier for this person (idempotency key).
  - `firstName` string, nullable — Given name.
  - `lastName` string, nullable — Family name.
  - `email` string, nullable — Email address.
  - `phoneNumber` string, nullable — Phone number in E.164 format (e.g. +5215555555555).
  - `attributes` object — Free-form custom traits (full-replace on upsert).

## Response `200`

Success

- object
  - `externalId` string, required
  - `created` boolean, required

## Other responses

- `400` — Validation failed or the request cannot proceed.
- `401` — Missing, malformed, or revoked API key.
- `404` — The resource does not exist in this organization.
- `409` — Conflicts with the current state (duplicates, wrong lifecycle state).
- `422` — The request is well-formed but semantically invalid.
- `429` — Rate limit exceeded — retry after `Retry-After`.
- `500` — Internal server error.
- `503` — Transient error — retry with a narrower request.

---

[API](https://skmtc.net/useboom/apis/boom-api.md) · [All operations](https://skmtc.net/useboom/apis/boom-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/useboom/boom-api/revisions/00f873e07076/schema)
