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

# User activated

`POST user.activated` (webhook)

Sent to your endpoint when a user is activated for the first time in your platform.

## Headers

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

## Payload

- object
  - `type` 'user.activated', 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` UserActivatedDTO, 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.
    - `createdFrom` 'selfRegistration' — Present and set to `"selfRegistration"` if the user registered via the self-registration form. Absent otherwise.
    - `firstActivatedAt` string, date-time, required — The date and time when the user was activated for the first time, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC)).

## 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)
