---
title: "Create User"
method: POST
path: "/api/v1/internal/users/"
tags: ["internal", "users"]
---

# Create User

`POST /api/v1/internal/users/`

Create a new user account with Firebase Auth and DB record.

## Request body

- AdminCreateUserRequest — Request schema for creating a new user account. Rejects unknown fields with 422 — legacy callers sending the removed `create_workspace_allowed_geographies` key should fail loud rather than silently no-op (see MAIA-1562).
  - `email` string, email, required
  - `display_name` string, required
  - `workspace_id` string, uuid, required
  - `role` string, nullable
  - `plan_type` string, nullable
  - `is_internal` boolean
  - `auth_method` 'google' | 'password'
  - `password` string, nullable
  - `send_invite` boolean

## Response `200`

Successful Response

- AdminUserDetailResponse — Full user detail response for admin view.
  - `id` string, uuid, required
  - `email` string, required
  - `display_name` string, nullable, required
  - `role` string, nullable, required
  - `workspace_id` string, uuid, required
  - `workspace_name` string, nullable, required
  - `is_internal` boolean, required
  - `is_suspended` boolean, required
  - `has_completed_onboarding` boolean, required
  - `plan_type` string, required
  - `available_enrichment_credits` integer, required
  - `used_enrichment_credits` integer, required
  - `remaining_credits` integer, required
  - `project_count` integer, required
  - `created_at` string, date-time, nullable, required
  - `updated_at` string, date-time, nullable, required
  - `last_active_at` string, date-time, nullable, required

## Other responses

- `422` — Validation Error

---

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