---
title: "User updated"
method: POST
path: "user.updated"
tags: ["User"]
---

# User updated

`POST user.updated` (webhook)

Sent to your endpoint when one or more of the following user properties are updated: mail, username, firstName, lastName, lang, custom, job, organization, phone, toBeDeactivatedAt, primaryGroupId.

## Headers

- `webhook-signature` string, required
- `webhook-id` string, required
- `webhook-timestamp` string, required

## Payload

- object
  - `type` 'user.updated', required — The type of the event.
  - `timestamp` integer, required — The date and time when the event was triggered in your platform, in the Unix epoch format (number of milliseconds that have elapsed since January 1, 1970).
  - `data` UserUpdatedDTO, required
    - `userId` string, ObjectId, required — The unique ID of the user.
    - `firstName` string — The first name of the user.
    - `lastName` string — The last name of the user.
    - `mail` string — The email address of the user.
    - `username` string — The username that can be used to log in if the company allows it.
    - `updatedAt` string, date-time, required — The date and time when the user was updated, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC)).
    - `lang` 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'ht_HT' | 'hu' | 'id' | 'it' | 'ja' | 'kar_MM' | 'ko' | 'lt' | 'mh_MH' | 'nl' | 'nl_BE' | 'no' | 'pl' | 'pt' | 'ro' | 'ru' | 'rw_RW' | 'sk' | 'sl' | 'so_SO' | 'sv' | 'sw_KE' | 'th' | 'ti_ET' | 'tr' | 'uk' | 'zh' | 'vi' — The default language of the user, in a bigram format (en, fr, de, etc.).
    - `custom` string — The value of the **Additional information** field in the user's profile. This is not the value of the custom fields associated with the user.
    - `job` string — The role title of the user.
    - `organization` string — The organization that the user belongs to.
    - `phone` string — The phone number of the user.
    - `toBeDeactivatedAt` string, date-time — The date and time when the user will be deactivated, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC)).
    - `primaryGroupId` string, ObjectId — The unique ID of the primary group of the user.

## Acknowledgement `2XX`

The event is considered as accepted for any 2xx response code.

## Other responses

- `default` — The event is considered as rejected for any other response code. The event emission will be retried later.

---

[API](https://skmtc.dev/360learning/apis/webhook-api.md) · [All operations](https://skmtc.dev/360learning/apis/webhook-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/360learning/webhook-api/revisions/18374878903d/schema)
