---
title: "POST /api/user/register"
method: POST
path: "/api/user/register"
tags: ["user"]
---

# POST /api/user/register

`POST /api/user/register`

## Request

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

## Request body

- NewUserRequest
  - `email` string, email, required
  - `firstName` string, required
  - `lastName` string, required
  - `password` string, required

## Response `201`

- NewUser
  - `id` integer, required
  - `email` string, email, required
  - `firstName` string, required
  - `lastName` string, required

## Other responses

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

## Changes

- **2026-08-15** `9164f6763019`: 2 warning, 3 info
  - removed the request property `dateOfBirth`
  - removed the optional property `dateOfBirth` from the response with the `201` status
  - added the non-success response with the status `404`
  - removed `date_of_birth` discriminator mapping keys from the `oneOf[#/components/schemas/UserRegisterCreateValidationError]/errors/items/` response property for the response status `400`
  - …1 more
- **2025-08-17** `14b27b584fd2`: 7 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `405`
  - added the non-success response with the status `406`
  - …3 more
- **2025-08-04** `ec9531386449`: 6 breaking, 3 info
  - the `email` request property's minLength was increased from `0` to `1`
  - the `firstName` request property's minLength was increased from `0` to `1`
  - the `lastName` request property's minLength was increased from `0` to `1`
  - the `password` request property's minLength was increased from `0` to `1`
  - …5 more
- **2025-07-09** `391b0262e68c`: 8 breaking, 3 warning, 3 info
  - added the new required request property `dateOfBirth`
  - added the new required request property `firstName`
  - added the new required request property `lastName`
  - removed the media type `application/x-www-form-urlencoded` from the request body
  - …10 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/user/register/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)
