---
title: "POST /api/user/password-reset/confirm"
method: POST
path: "/api/user/password-reset/confirm"
tags: ["user"]
---

# POST /api/user/password-reset/confirm

`POST /api/user/password-reset/confirm`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sessionid`
  - none

Set a new password from a reset link's uid and token.

Logs the user in and returns their profile, as the login endpoint does.

## Request body

- PasswordResetConfirmRequest
  - `uid` string, required
  - `token` string, required
  - `newPassword` string, required
  - `otp` string

## Response `200`

- User
  - `id` integer, required
  - `email` string, email, required
  - `isStaff` boolean, required: Is the user a member of staff?
  - `identityConfirmed` boolean, required: Set automatically when the signed affidavit of an organization this user edits is received (the organization is made a member). Tick by hand only for someone who is not an editor.
  - `dateJoined` string, date-time, required
  - `editorOf` SimpleOrg[], required
    - `id` integer, required
    - `name` string, required
  - `memberOf` SimpleOrg[], required
    - `id` integer, required
    - `name` string, required
  - `firstName` string
  - `lastName` string
  - `dateOfBirth` string, date, nullable
  - `phoneNumber` string: Phone number at which this user can be reached

## Other responses

- `400`
- `401`
- `404`
- `405`
- `406`
- `415`
- `429`
- `500`

## Changes

- **2026-11-13** `f930f1978e15`: 1 breaking, 2 info
  - added `#/components/schemas/UserPasswordResetConfirmCreateOtpErrorComponent` to the `oneOf[#/components/schemas/UserPasswordResetConfirmCreateValidationError]/errors/items/` response property `oneOf` list for the response status `400`
  - added the new optional request property `otp`
  - added `otp` discriminator mapping keys to the `oneOf[#/components/schemas/UserPasswordResetConfirmCreateValidationError]/errors/items/` response property for the response status `400`
- **2026-11-13** `34b31f558e74`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/user/password-reset/confirm/post.md)

---

[API](https://skmtc.dev/frikanalen/apis/frikanalen-django-api.md) - [All operations](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/llms.txt) - [OpenAPI document](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/revisions/ebd4175e41fe?raw)
