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

# Register user

`POST /api/register`

Register a demo user account.

## Request body

- AuthRequest
  - `email` string, email, required
  - `password` string, required

## Response `200`

Successful registration

- RegisterResponse
  - `id` integer
  - `token` string, required

## Other responses

- `400` — Error response

---

[API](https://skmtc.net/reqres/apis/reqres-api.md) · [All operations](https://skmtc.net/reqres/apis/reqres-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reqres/reqres-api/versions/e5ced6578853/schema)
