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

# Register a user

`POST /auth/register`

## Request body

- User
  - `username` string, required
  - `password` string, required
  - `email` string, required

## Response `200`

Registration successful

- object
  - `success` boolean
  - `message` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.dev/sdslabs/apis/gasper-master-api.md) · [All operations](https://skmtc.dev/sdslabs/apis/gasper-master-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sdslabs/gasper-master-api/revisions/7e47981126c5/schema)
