---
title: "Update Person"
method: PATCH
path: "/api/contacts/{person_id}"
tags: ["contacts", "contacts"]
---

# Update Person

`PATCH /api/contacts/{person_id}`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/contacts/{person_id}`
- Auth: none declared

Update person details (birthday, preferred channel).

Birthday fields:
- birthday_month: 1-12 (required if birthday_day is set)
- birthday_day: 1-31 (required if birthday_month is set)
- birthday_year: optional, 1900-2100

To clear birthday, set both birthday_month and birthday_day to None.

## Path parameters

- `person_id` integer, required

## Request body

- UpdatePersonRequest: Request to update person details.
  - `display_name` string, nullable
  - `birthday_month` integer, nullable
  - `birthday_day` integer, nullable
  - `birthday_year` integer, nullable
  - `preferred_channel` string, nullable
  - `staff_role` string, nullable
  - `capabilities` string[], nullable
  - `notes` string, nullable
  - `preferred_channel_account_id` integer, nullable

## Response `200`

Successful Response

- UpdatePersonResponse: Response with updated person details.
  - `id` integer, required
  - `display_name` string, required
  - `birthday_month` integer, nullable
  - `birthday_day` integer, nullable
  - `birthday_year` integer, nullable
  - `preferred_channel` string, nullable
  - `staff_role` string, nullable
  - `capabilities` string[]
  - `notes` string, nullable
  - `preferred_channel_account_id` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
