---
title: "Create a new user account"
method: POST
path: "/auth/user/"
tags: ["Accounts", "public"]
---

# Create a new user account

`POST /auth/user/`

Creates a new user account in the authentication system. A custom user ID can be provided.

## Headers

- `x-m2-organization-id` string, required

## Request body

- PostAuthUserRequestSchema — The request body for creating a new auth user
  - `uid` string — The user ID to use for this new user. If not specified, one will be created.
  - `displayName` string — Optional for user creation, but required for streaming access
  - `email` string
  - `emailVerified` boolean
  - `photoURL` string

## Response `200`

The information of the created user

- PostAuthUserResponseSchema
  - `uid` string, required
  - `emailVerified` boolean
  - `email` string
  - `displayName` string
  - `photoURL` string
  - `providerData` object[]
    - `providerId` string
    - `uid` string
    - `email` string
    - `displayName` string
    - `photoURL` string
    - `phoneNumber` string

---

[API](https://skmtc.net/otherside/apis/accounts.md) · [All operations](https://skmtc.net/otherside/apis/accounts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/otherside/accounts/revisions/99b138ac9152/schema)
