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

# Update a contact

`PATCH /v1/contacts/{id}`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/contacts/{id}`
- Auth: HTTP bearer

Update name fields, subscription status, or custom properties. Email addresses cannot be changed.

## Path parameters

- `id` string, required

## Request body

- UpdateContactRequest
  - `firstName` string
  - `lastName` string
  - `first_name` string
  - `last_name` string
  - `unsubscribed` boolean
  - `properties` object
  - `segment_ids` string[]: Replace this contact's manual segment assignments

## Response `200`

Contact updated

- ContactCreated
  - `object` string, required
  - `id` string, required

## Other responses

- `400`: Bad request - check your payload
- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
