---
title: "Activate a user account in order to be able to give praise and receive rewards. Activation a user account creates a new User object or adds user account to User if it already exists."
method: POST
path: "/api/activate"
tags: ["Activate"]
---

# Activate a user account in order to be able to give praise and receive rewards. Activation a user account creates a new User object or adds user account to User if it already exists.

`POST /api/activate`

## Request body

- ActivateInputDto
  - `identityEthAddress` string, required
  - `accountId` string, required
  - `signature` string, required

## Response `200`

The created (or updated) user.

- User
  - `_id` string, required
  - `identityEthAddress` string, required
  - `rewardsEthAddress` string, required
  - `username` string, required
  - `roles` number, required
  - `accounts` array[], required
    - unknown[]
      - unknown
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `201`

## Changes

- **2023-03-31** `af4ea0086c6f` — 16 breaking, 6 warning
  - the `accounts/items/` response's property type/format changed from `object`/`` to `array`/`` for status `200`
  - the `accounts/items/` response's property type/format changed from `object`/`` to `array`/`` for status `201`
  - the `roles` response's property type/format changed from `array`/`` to `number`/`` for status `200`
  - the `roles` response's property type/format changed from `array`/`` to `number`/`` for status `201`
  - …18 more
- **2002-04-24** `85037159b344` — 2 breaking
  - the response property `accounts/items/avatarId` became optional for the status `200`
  - the response property `accounts/items/avatarId` became optional for the status `201`

[Change history](https://skmtc.dev/givepraise/apis/praise-api/changes/api/activate/post.md)

---

[API](https://skmtc.dev/givepraise/apis/praise-api.md) · [All operations](https://skmtc.dev/givepraise/apis/praise-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/givepraise/praise-api/revisions/c6b4d2f6d263/schema)
