---
title: "Register new user"
method: POST
path: "/auth/register"
tags: ["auth"]
---

# Register new user

`POST /auth/register`

Register a new user account with profile information

## Request body

- RegisterRequest
  - `firstName` string, required
  - `lastName` string, required
  - `email` string, email, required
  - `password` string, password, required
  - `profileImage` string, binary — Optional profile image file
  - `role` string[]

## Response `200`

User registered successfully

- AuthResponse
  - `success` boolean, required
  - `msg` string, required
  - `data` object — Response payload (varies by endpoint)
    - `token` string — JWT access token
    - `user` User
      - `_id` string
      - `firstName` string
      - `lastName` string
      - `email` string, email
      - `role` string[]
      - `profileImage` string — URL or path to profile image
      - `isActive` boolean
      - `teamId` string
      - `createdAt` string, date-time
      - `updatedAt` string, date-time

## Other responses

- `422` — Validation failed
- `500` — Internal server error

## Changes

- **2025-08-11** `db719f9e3d34` — 10 breaking, 6 warning, 11 info
  - request body became required
  - removed the enum value `Demo` of the request property `role`
  - removed the enum value `admin` of the request property `role`
  - removed the enum value `superadmin` of the request property `role`
  - …23 more
- **2025-04-20** `b97ec6888b3c` — 7 breaking, 2 warning, 8 info
  - removed the media type `multipart/form-data` from the request body
  - the response property `data` became optional for the status `200`
  - the response property `msg` became optional for the status `200`
  - the response property `msg` became optional for the status `500`
  - …13 more

[Change history](https://skmtc.dev/bluewave-labs/apis/checkmate-api/changes/auth/register/post.md)

---

[API](https://skmtc.dev/bluewave-labs/apis/checkmate-api.md) · [All operations](https://skmtc.dev/bluewave-labs/apis/checkmate-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bluewave-labs/checkmate-api/revisions/8e4e53495dc9/schema)
