---
title: "Signup"
method: POST
path: "/api/v1/auth/signup"
tags: ["Authentication"]
---

# Signup

`POST /api/v1/auth/signup`

## Request

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

Create a new user account.

- **email**: User email address
- **password**: User password (min 8 characters)
- **is_demo**: Whether this is a demo account (default: True)

## Request body

- UserSignup: User signup request model.
  - `email` string, email, required
  - `password` string, required
  - `is_demo` boolean

## Response `201`

Successful Response

- AuthResponse: Authentication response model.
  - `access_token` string, required
  - `token_type` string
  - `user` UserProfile, required: User profile model.
    - `id` string, required
    - `email` string, required
    - `role` string, nullable
    - `is_bank_admin` boolean
    - `demo_expires_at` string, date-time, nullable
    - `usage_count` integer
    - `max_usage_limit` integer
    - `is_demo_user` boolean
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/perlucem/apis/perlucem-ai-backend.md) · [All operations](https://skmtc.dev/perlucem/apis/perlucem-ai-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/perlucem/apis/perlucem-ai-backend/revisions/e1830fb27394?raw)
