---
title: "Update an existing contact"
method: PATCH
path: "/api/v2/contacts/{id}"
tags: ["Contacts"]
---

# Update an existing contact

`PATCH /api/v2/contacts/{id}`

## Request

- Base URL: `https://yournation.nationbuilder.com`
- URL: `https://yournation.nationbuilder.com/api/v2/contacts/{id}`
- Auth: HTTP bearer

Updates an existing contact

## Request body

- ContactUpdateRequest: The JSON:API top-level document shape for update requests, whose data member identifies the resource by type and id and carries the changed attributes.
  - `data` object, required
    - `id` string, required: The ID of the resource being updated.
    - `type` 'contacts', required: The JSON:API resource type of the resource being updated.
    - `attributes` ContactReadWriteAttributes: The attributes of a contact that can be both read and written.
      - `author_id` string, nullable: The contact's author.
      - `broadcaster_id` string, nullable: The broadcaster of the contact.
      - `contact_method` 'delivery' | 'door_knock' | 'email' | 'email_blast' | 'face_to_face' | 'facebook' | 'meeting' | 'phone_call' | 'robocall' | 'snail_mail' | 'text' | 'text_1to1' | 'text_blast' | 'tweet' | 'video_call' | 'webinar' | 'linkedin' | 'other' | 'null', nullable: The contact method.
      - `contact_status` 'other' | 'answered' | 'bad_info' | 'left_message' | 'meaningful_interaction' | 'send_information' | 'not_interested' | 'no_answer' | 'refused' | 'inaccessible' | 'null', nullable: The status.
      - `content` string, nullable: The content of the contact.
      - `path_id` string, nullable: The path belonging to this contact.
      - `path_step_id` string, nullable: The path step belonging to this contact.
      - `pc_in_cents` integer: Political capital awarded in this contact.
      - `signup_id` string, nullable: The contact's signup.

## Response `200`

The updated contact.

- ContactShowResponse: The JSON:API top-level document shape for responses returning a single resource under the data member.
  - `data` object, required: A JSON:API resource identifier object, the type/id pair that uniquely identifies a single resource.
    - `id` string, required: Unique identifier of the resource.
    - `type` 'contacts', required: The JSON:API resource type.
    - `attributes` object: The read-only attributes of a contact.
      - `author_id` string, nullable: The contact's author.
      - `broadcaster_id` string, nullable: The broadcaster of the contact.
      - `contact_method` 'delivery' | 'door_knock' | 'email' | 'email_blast' | 'face_to_face' | 'facebook' | 'meeting' | 'phone_call' | 'robocall' | 'snail_mail' | 'text' | 'text_1to1' | 'text_blast' | 'tweet' | 'video_call' | 'webinar' | 'linkedin' | 'other' | 'null', nullable: The contact method.
      - `contact_status` 'other' | 'answered' | 'bad_info' | 'left_message' | 'meaningful_interaction' | 'send_information' | 'not_interested' | 'no_answer' | 'refused' | 'inaccessible' | 'null', nullable: The status.
      - `content` string, nullable: The content of the contact.
      - `path_id` string, nullable: The path belonging to this contact.
      - `path_step_id` string, nullable: The path step belonging to this contact.
      - `pc_in_cents` integer: Political capital awarded in this contact.
      - `signup_id` string, nullable: The contact's signup.
      - `created_at` string, date-time, nullable
  - `included` Resource[]: Sideloaded resources requested via the include query parameter. Each entry is a full resource object whose shape is documented under its own resource type.
    - `id` string, required: Unique identifier of the resource.
    - `type` string, required: The JSON:API resource type.
    - `attributes` object: The attributes of the resource, as documented for its resource type.
    - `relationships` object: References from this resource to other resources in the document.
  - `meta` object: Non-standard information about the document. Empty unless the endpoint has metadata to convey.

## Other responses

- `400`: The request body or query parameters are invalid, such as an unknown attribute, filter, filter operator, sort field, or sideload.
- `401`: The access token is missing, expired, or not authorized to access this resource.
- `404`: No resource exists with the provided ID.
- `422`: Model validations failed for the resource being created or updated. Unlike this API's other errors, validation failures are returned as a JSON:API errors document locating each invalid field.
- `429`: The access token has exceeded its request quota for the current rate-limit window.

## Changes

- **2026-11-05** `d5c88ca497ac`: 4 breaking, 1 warning, 8 info
  - added `#/components/schemas/update_request_document, subschema #2` to the request body `allOf` list
  - the request's body type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `data` from the response with the `200` status
  - …9 more

[Operation history](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/changes/api/v2/contacts/:id/patch.md)

---

[API](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api.md) - [All operations](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/revisions/d5c88ca497ac?raw)
