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

# Register

`POST /api/v1/auth/register`

## Request

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

Register a new user. Rate limited to prevent abuse.

## Request body

- UserCreate
  - `email` string, email, required
  - `password` string, required
  - `username` string, nullable
  - `name` string, nullable
  - `accepted_terms` boolean, nullable
  - `referral_code` string, nullable

## Response `201`

Successful Response

- UserResponse
  - `id` string, required
  - `email` string, required
  - `username` string, required
  - `name` string, nullable
  - `avatar_url` string, nullable
  - `bio` string, nullable
  - `is_active` boolean
  - `is_verified` boolean
  - `role` string
  - `subscription_tier` string
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aimrank/apis/aimrank-api.md) · [All operations](https://skmtc.dev/aimrank/apis/aimrank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aimrank/apis/aimrank-api/revisions/3574d0aff459?raw)
