---
title: "Create a user (optionally with a password; confirmed unless you say otherwise)"
method: POST
path: "/instances/{instance_id}/auth/users"
tags: ["engines"]
---

# Create a user (optionally with a password; confirmed unless you say otherwise)

`POST /instances/{instance_id}/auth/users`

## Request

- Base URL: `https://app.lathe.live/api/v1`
- URL: `https://app.lathe.live/api/v1/instances/{instance_id}/auth/users`
- Auth: none declared

## Path parameters

- `instance_id` string, required

## Request body

- AuthUserIn
  - `email` string, required: The address they sign in with.
  - `password` string: Optional. Without one they sign in with a link or a code to the address, like everybody else.
  - `email_confirm` boolean: Treat the address as confirmed, so they can sign in at once.

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/lathe/apis/lathe-customer-api.md) · [All operations](https://skmtc.dev/lathe/apis/lathe-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lathe/apis/lathe-customer-api/revisions/68cfd9bb71c1?raw)
