---
title: "Register"
method: POST
path: "/api/auth/register"
tags: ["Authentication"]
---

# Register

`POST /api/auth/register`

User registration endpoint with default configuration inheritance

## Request body

- RegisterRequest — User registration request model
  - `username` string, required
  - `email` string, nullable
  - `password` string, required

## Response `200`

Successful Response

- RegisterResponse — User registration response model
  - `success` boolean, required
  - `message` string, required
  - `user` object, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/xorbitsai/apis/xagent.md) · [All operations](https://skmtc.net/xorbitsai/apis/xagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xorbitsai/xagent/versions/33e4ba4936ad/schema)
