---
title: "Create user"
method: POST
path: "/api/auth/admin/users"
tags: ["Admin Users"]
---

# Create user

`POST /api/auth/admin/users`

Creates a new user with the specified attributes.

## Request body

- CreateUserRequest
  - `email` string, required
  - `email_verified` boolean, nullable
  - `image` string, nullable
  - `metadata` object, nullable
  - `name` string, required

## Response `201`

Created

- CreateUserResponse
  - `user` User, required
    - `created_at` string, date-time, required
    - `email` string, required
    - `email_verified` boolean, required
    - `id` string, required
    - `image` string, nullable
    - `metadata` object, nullable
    - `name` string, required
    - `updated_at` string, date-time, required

## Changes

- **2026-07-08** `61a78375af21` — 6 info
  - the response property `user/created_at` became required for the status `201`
  - the response property `user/email` became required for the status `201`
  - the response property `user/email_verified` became required for the status `201`
  - the response property `user/id` became required for the status `201`
  - …2 more
- **2026-07-08** `2ff1d8d3f239` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/authula/apis/authula-api/changes/api/auth/admin/users/post.md)

---

[API](https://skmtc.dev/authula/apis/authula-api.md) · [All operations](https://skmtc.dev/authula/apis/authula-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/authula/authula-api/revisions/61a78375af21/schema)
