---
title: "Edit the custom field value of a specified contact"
method: PUT
path: "/api/v2/customfields/{id}/update"
tags: ["Custom Fields"]
---

# Edit the custom field value of a specified contact

`PUT /api/v2/customfields/{id}/update`

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Custom%20Fields/updateCustomFieldValue" target="_blank">Try in sandbox</a><br>

## Path parameters

- `id` integer, required

## Request body

- object
  - `contactId` integer — Contact ID. See [Contact](https://docs.textmagic.com/#tag/Contacts).
  - `value` string — Custom field value. Note that this value is not parsed in any way; it is stored and used in dynamic fields exactly as you send it.

## Response `201`

Returned when updated with success.

- ResourceLinkResponse — Response contains paginated list of data items.
  - `id` integer, required — Resource ID.
  - `href` string, required — A link to this resource. If you want to fetch it, just **GET** this address.

## Other responses

- `400` — Bad request.
- `401` — Unauthorized request.
- `404` — Request data not found.

---

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