---
title: "Update Contacts"
method: PUT
path: "/api/v1/widget/contact"
tags: ["Widget::Contacts"]
---

# Update Contacts

`PUT /api/v1/widget/contact`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/widget/contact`
- Auth: none required

## Request body

- object
  - `website_token` string
  - `identifier` string
  - `identifier_hash` string
  - `email` string, email
  - `name` string
  - `avatar_url` string
  - `phone_number` string, phone
  - `custom_attributes` object
  - `additional_attributes` object

## Response `200`

Success

- object
  - `id` string
  - `has_email` string
  - `has_name` string
  - `has_phone_number` string

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/cloudhumans/apis/cloudchat-api.md) - [All operations](https://skmtc.dev/cloudhumans/apis/cloudchat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudhumans/apis/cloudchat-api/revisions/18199bd17cc5?raw)
