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

# Register User

`POST /auth/register`

Register a new user and generate an API key (admin only)

## Request body

- UserCreate
  - `email` string, email, required
  - `name` string, nullable

## Response `200`

Successful Response

- APIKeyResponse
  - `key` string, required
  - `expires_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/deepshare/apis/markdown-to-docx-converter.md) · [All operations](https://skmtc.dev/deepshare/apis/markdown-to-docx-converter/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/deepshare/markdown-to-docx-converter/revisions/3c4ed7b0427a/schema)
