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

# Register

`POST /api/auth/register`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/auth/register`
- Auth: none declared

Register a new user account.

## Request body

- UserCreate: Schema for user registration.
  - `email` string, email, required
  - `password` string, required

## Response `201`

Successful Response

- TokenResponse: Schema for token response.
  - `access_token` string, required
  - `refresh_token` string, required
  - `token_type` string
  - `user` UserResponse, required: Schema for user response (excludes password).
    - `id` string, uuid, required
    - `email` string, required
    - `is_admin` boolean, required
    - `admin_role` string, nullable
    - `must_change_password` boolean, required
    - `email_verified` boolean, required
    - `tier` string
    - `chat_logging_enabled` boolean
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
