---
title: "Update Contact"
method: PUT
path: "/contacts"
tags: ["Contacts"]
---

# Update Contact

`PUT /contacts`

## Request

- Base URL: `https://api.pinnacle.sh`
- URL: `https://api.pinnacle.sh/contacts`
- Auth: API key in header `PINNACLE-API-KEY`

Update an existing contact.

## Request body

- UpdateContactRequest
  - `description` string, nullable: New notes or details for your contact.
  - `email` string, nullable: New email address for your contact.
  - `name` string, nullable: New name for your contact.
  - `tags` string[]: New tags for your contact.
  - `id` string, required: ID of the contact you want to update. This identifier is a string that always begins with the prefix `co_`, for example: `co_1234567890`.

## Response `200`

Successfully updated the contact.

- UpdateContactResponse
  - `id` string, required: Unique ID of the updated contact. This identifier is a string that always begins with the prefix `co_`, for example: `co_1234567890`.

## Other responses

- `400`: Validation failed. The payload has missing required fields and/or invalid types. <br> See https://zod.dev/error-formatting for more information.
- `401`: The request lacks valid authentication credentials or the provided credentials are invalid. <br> Ensure you're including a valid API key in the request headers and that your account has the necessary permissions to access this endpoint.
- `403`: Your subscription does not include access to this feature. <br> This occurs when attempting to use functionality that requires a higher subscription tier. Please upgrade your subscription to access this feature.
- `404`: The requested resource could not be found. <br> This may occur if the identifier is incorrect, the resource has been deleted, or you don't have permission to access it.
- `500`: An unexpected error occurred on Pinnacle's servers while processing your request. <br> If this error persists, please contact support with the request details.

---

[API](https://skmtc.dev/pinnacle/apis/pinnacle-2.md) - [All operations](https://skmtc.dev/pinnacle/apis/pinnacle-2/llms.txt) - [OpenAPI document](https://skmtc.dev/pinnacle/apis/pinnacle-2/revisions/45416dadab79?raw)
