---
title: "Signup"
method: POST
path: "/v1/auth/signup"
---

# Signup

`POST /v1/auth/signup`

## Request

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

Create a new user account, open a session, and return the session cookie.

Validation:
  - email must be non-empty and well-formed (server-side, not just the UI)
  - password must be 8–72 bytes (bcrypt limit)
  - persona (optional) must be one of the known values if provided
Returns 409 if the email is already registered.

Side effect: a verification email is scheduled via BackgroundTasks (dev:
logged) — the account starts unverified but is NOT blocked from using the
product. Scheduling it off the request path (IMPORTANT-1a) keeps signup's
response time independent of mail-send cost.

## Request body

- AuthBody
  - `email` string, required
  - `password` string, required
  - `persona` string, nullable
  - `trader_tag` string, nullable
  - `invite_code` string, nullable
  - `anon_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/quantradin/apis/vega-api.md) · [All operations](https://skmtc.dev/quantradin/apis/vega-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quantradin/apis/vega-api/revisions/47add154ef38?raw)
