---
title: "Update contact"
method: PUT
path: "/v1/contacts/{id}"
tags: ["Contacts"]
---

# Update contact

`PUT /v1/contacts/{id}`

## Request

- Base URL: `https://api.forwardemail.net`
- URL: `https://api.forwardemail.net/v1/contacts/{id}`
- Auth: HTTP basic

Update an existing contact. You can provide either updated vCard content or individual fields to update. The contact's vCard will be regenerated if individual fields are provided.

## Path parameters

- `id` string, required

## Request body

- ContactUpdateInput
  - `content` string: vCard content
  - `full_name` string: Contact's full name
  - `emails` object[]: Array of email addresses
    - `value` string, email, required
    - `type` string
  - `phone_numbers` object[]: Array of phone numbers
    - `value` string, required
    - `type` string
  - `phones` object[]: Array of phone numbers (alias for phone_numbers)
    - `value` string, required
    - `type` string
  - `addresses` object[]: Array of addresses
    - `street` string
    - `city` string
    - `state` string
    - `postalCode` string
    - `country` string
    - `type` string
  - `is_group` boolean: Whether contact is a group

## Response `200`

Contact updated successfully

- Contact
  - `id` string, required: Contact ID (contact_id from CardDAV)
  - `uid` string, required: Contact UID
  - `full_name` string, required: Contact's full name
  - `content` string, required: vCard content
  - `etag` string, required: ETag for versioning
  - `is_group` boolean, required: Whether contact is a group
  - `emails` object[], required: Array of email addresses
    - `value` string, email, required
    - `type` string
  - `phone_numbers` object[], required: Array of phone numbers
    - `value` string, required
    - `type` string
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `object` 'contact', required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `412`: Precondition Failed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/forwardemail/apis/forward-email-api.md) · [All operations](https://skmtc.dev/forwardemail/apis/forward-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/forwardemail/apis/forward-email-api/revisions/ecefab4527f6?raw)
