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

# /contacts/{id}

`PUT /contacts/{id}`

Update all information about a contact passing his ID

## Path parameters

- `id` string, required

## Headers

- `octa-agent-email` string

## Request body

- ContactsDto
  - `name` string, required — Customer name
  - `email` string, required — Customer email
  - `phoneContacts` PhoneContacts[] — Phone info that will receive the message
    - `number` string, required — Phone Number that will receive the message
    - `countryCode` string — Country code
  - `customFields` CustomFields[] — Custom fields to add to contact information
    - `key` string, required — Key of the field
    - `value` union, required — Value of the field
      - string
      - number
      - boolean
  - `responsible` ResponsibleDTO
    - `id` string — Id of the responsible
    - `name` string — Name of the responsible
    - `email` string — Email of the responsible

## Response `201`

- ContactsPayload
  - `id` string — Customer ID
  - `name` string — Customer name
  - `email` string — Customer email
  - `phoneContacts` PhoneContacts[] — Phone info that will receive the message
    - `number` string, required — Phone Number that will receive the message
    - `countryCode` string — Country code
  - `customFields` CustomFields[] — Fields to be used on the template (key / value)
    - `key` string, required — Key of the field
    - `value` union, required — Value of the field
      - string
      - number
      - boolean
  - `organization` Organization
    - `id` string, required — Organization ID
    - `name` string, required — Organization name
    - `customField` CustomFields[], required — Organization custom fields
      - `key` string, required — Key of the field
      - `value` union, required — Value of the field
        - string
        - number
        - boolean
  - `responsible` ResponsibleDTO
    - `id` string — Id of the responsible
    - `name` string — Name of the responsible
    - `email` string — Email of the responsible

---

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