> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Update contact

> Updates one contact by ID.

`highlevel.updateContact` updates one contact by ID.

```ts automations/highlevel-update-contact.automation.ts theme={null}
import { automation, markSignificant } from "automate.ax"
import { highlevel } from "automate.ax/highlevel"

export default automation("Update contact", () => {
  markSignificant(
    highlevel.updateContact({
      contactId: "ocQHyuzHvysMo5N5VsXc",
    }),
  )
})
```

## Input

| Field                | Type             | Required | Description                                                                                                                                               |
| -------------------- | ---------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `contactId`          | `string`         | Yes      | HighLevel contact id value.                                                                                                                               |
| `firstName`          | `string \| null` | No       | HighLevel first name value.                                                                                                                               |
| `lastName`           | `string \| null` | No       | HighLevel last name value.                                                                                                                                |
| `name`               | `string \| null` | No       | HighLevel name value.                                                                                                                                     |
| `email`              | `string \| null` | No       | HighLevel email value.                                                                                                                                    |
| `phone`              | `string \| null` | No       | HighLevel phone value.                                                                                                                                    |
| `address1`           | `string \| null` | No       | HighLevel address1 value.                                                                                                                                 |
| `city`               | `string \| null` | No       | HighLevel city value.                                                                                                                                     |
| `state`              | `string \| null` | No       | HighLevel state value.                                                                                                                                    |
| `postalCode`         | `string`         | No       | HighLevel postal code value.                                                                                                                              |
| `website`            | `string \| null` | No       | HighLevel website value.                                                                                                                                  |
| `timezone`           | `string \| null` | No       | HighLevel timezone value.                                                                                                                                 |
| `dnd`                | `boolean`        | No       | HighLevel Do Not Disturb setting.                                                                                                                         |
| `dndSettings`        | `object`         | No       | HighLevel Do Not Disturb settings.                                                                                                                        |
| `inboundDndSettings` | `object`         | No       | HighLevel inbound Do Not Disturb settings.                                                                                                                |
| `tags`               | `string[]`       | No       | This field will overwrite all current tags associated with the contact. To update a tags, it is recommended to use the Add Tag or Remove Tag API instead. |
| `customFields`       | `object[]`       | No       | HighLevel custom fields value.                                                                                                                            |
| `source`             | `string \| null` | No       | HighLevel source value.                                                                                                                                   |
| `dateOfBirth`        | `string \| null` | No       | Birth date in a HighLevel-supported date format such as `YYYY-MM-DD`.                                                                                     |
| `country`            | `string`         | No       | HighLevel country value.                                                                                                                                  |
| `assignedTo`         | `string \| null` | No       | HighLevel assigned to value.                                                                                                                              |

Automate.ax supplies the connected sub-account's location ID. Optional second argument `{ account }` selects a named HighLevel binding.

## Output

| Field      | Type      | Required | Description                      |
| ---------- | --------- | -------- | -------------------------------- |
| `succeded` | `boolean` | No       | Whether the operation succeeded. |
| `contact`  | `object`  | No       | HighLevel contact value.         |

This action calls `PUT /contacts/{contactId}` with HighLevel API version `2021-07-28` and requires `contacts.write`. HighLevel validation and permission errors fail the action. Rate limits honor the provider's retry timing.
