---
title: "Set User Contacts"
method: PATCH
path: "/api/v1/widget/contact/set_user"
tags: ["Widget::Contacts"]
---

# Set User Contacts

`PATCH /api/v1/widget/contact/set_user`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/widget/contact/set_user`
- 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
  - `widget_auth_token` 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)
