---
title: "Update a contact"
method: PUT
path: "/contacts/{contactId}"
tags: ["Phone Book Entries"]
---

# Update a contact

`PUT /contacts/{contactId}`

Updates an existing contact with the provided information.

## Path parameters

- `contactId` string, required

## Request body

- object
  - `firstName` string — First name of the contact
  - `lastName` string — Last name of the contact
  - `nickname` string — Nickname of the contact
  - `title` string — Title of the contact (e.g. Dr., Mr., Mrs.)
  - `company` string — Company name
  - `picture` object — Contact pictures
    - `thumbnail` string — Thumbnail URL of the picture
    - `regular` string — Regular size URL of the picture
    - `large` string — Large size URL of the picture
  - `emails` string[] — List of email addresses
  - `phones` string[] — List of phone numbers
  - `preferredContactMethod` string — Preferred contact method
  - `email` string — Primary email address
  - `phone` string — Primary phone number
  - `notes` string — Additional notes about the contact

## Response `200`

Contact updated successfully.

- object
  - `_id` string, required — Contact ID
  - `accountId` string, required — Account ID
  - `fullName` string, required — Full name of the contact
  - `firstName` string — First name of the contact
  - `lastName` string — Last name of the contact
  - `nickname` string — Nickname of the contact
  - `title` string — Title of the contact (e.g. Dr., Mr., Mrs.)
  - `company` string — Company name
  - `picture` object — Contact pictures
    - `thumbnail` string — Thumbnail URL of the picture
    - `regular` string — Regular size URL of the picture
    - `large` string — Large size URL of the picture
  - `emails` string[] — List of email addresses
  - `phones` string[] — List of phone numbers
  - `preferredContactMethod` string — Preferred contact method
  - `email` string — Primary email address
  - `phone` string — Primary phone number
  - `notes` string — Additional notes about the contact

## Other responses

- `400` — Invalid input data.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Contact not found.

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
