---
title: "Update contact"
method: PUT
path: "/contacts/{contact}"
tags: ["Contacts"]
---

# Update contact

`PUT /contacts/{contact}`

REQUIRED SCOPES <code>['contacts:write']</code><br> This endpoint is used to update an existing contact within the system. It updates the properties specified in the request.<br><br>In case you've been updating contact records in an external database, the endpoint will help sync those updates to your system. You can use the update contact endpoint to complete the sync and avoid making manual updates.

## Path parameters

- `contact` integer, required

## Request body

- object
  - `contact` string — Contact id
  - `number` string — Number
  - `integration_id` integer — Integration id
  - `first_name` string — First name
  - `last_name` string — Last name
  - `email` string — Email
  - `contact_integration_id` string — Contact integration id
  - `customFields` object — Custom fields

## Response `200`

OK

- ContactResource — Class ContactResource
  - `id` integer — Returns the contact in array format.
  - `owner_id` integer
  - `color` string
  - `first_name` string
  - `last_name` string
  - `full_name` string
  - `email` string
  - `photo_url` string
  - `number` string
  - `country` string
  - `country_calling_code` string
  - `national_number` string
  - `typeted_number` string
  - `is_blocked` boolean
  - `opt_out` boolean
  - `opt_out_at` string
  - `opt_in_request_at` string
  - `opt_in_requests` object[]
    - `number_id` integer
  - `opt_in_at` string
  - `shortcode_opt_outs` object[]
    - `id` integer
    - `number_id` integer
    - `name` string
    - `disabled` boolean
    - `timestamp` string
    - `value` boolean
  - `created_at` string
  - `updated_at` string
  - `integration_vendor_id` integer
  - `prevent_autolink` boolean
  - `integration` object[]
    - `id` integer
    - `key` string
    - `name` string
    - `photo_url` string
  - `custom_fields` ContactCustomFieldResource[]
    - `id` integer
    - `custom_field_id` integer
    - `contact_id` integer
    - `field_key` string
    - `organization_id` integer
    - `text` string
    - `number` integer
    - `date` string
    - `created_at` string
    - `updated_at` string
    - `value` object[]
      - `type` string
      - `value` string
  - `tags` ContactTagResource[]
    - `id` integer
    - `name` string
    - `label` string
    - `created_at` string
  - `notes` object[]
    - `id` integer
    - `text` string
    - `created_at` string
    - `updated_at` string

---

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