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

# Signup

`POST /api/auth/signup`

## Request

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

Register a new user. Account is created in unverified state and a
6-digit code is emailed. The session is NOT issued until verification.

## Request body

- SignUpRequest
  - `email` string, email, required
  - `password` string, required
  - `full_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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