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

# Update a contact

`PATCH /contacts/{id}`

Update contact details including name, list memberships, and custom fields

## Request body

- object
  - `first_name` string
  - `last_name` string
  - `lists` integer[] — Array of list IDs (replaces all current list memberships)
  - `contact_fields` object[]
    - `name` string
    - `value` string, nullable

## Response `200`

Contact updated successfully

- Contact
  - `id` integer
  - `email` string, email, required
  - `first_name` string
  - `last_name` string
  - `ip_address` string
  - `unsubscribed_at` string, date-time, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `403` — Forbidden. Most often an ownership/authorization failure (Laravel's default `{"message": "..."}` shape). If the account is restricted by SendFox, the response instead carries the structured `account_restricted` body with a link to the account status page.
- `422` — Validation error

---

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