---
title: "Create User"
method: POST
path: "/api/tenants/{tenant_id}/users"
tags: ["tenants"]
---

# Create User

`POST /api/tenants/{tenant_id}/users`

## Request

- Base URL: `https://pozeidon.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://pozeidon.ai/api/tenants/{tenant_id}/users`
- Auth: none declared. Required headers: `x-admin-secret`

Add a user to an existing tenant (name + email; no key, no password).

Restores the user creation the retired create-key flow did as a side
effect. Afterwards use the per-user Invite button to email a set-password
link, or the user signs in via SSO. Reuses an existing user-by-email
(idempotent) instead of creating a duplicate row.

## Path parameters

- `tenant_id` string, required

## Headers

- `x-admin-secret` string, required

## Request body

- CreateUserRequest
  - `user_name` string, required
  - `user_email` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pozeidon/apis/pozeidon-demo.md) · [All operations](https://skmtc.dev/pozeidon/apis/pozeidon-demo/llms.txt) · [OpenAPI document](https://skmtc.dev/pozeidon/apis/pozeidon-demo/revisions/de288dc26752?raw)
