> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/user/_new.md).

# \_new

Creates a new User.

### Parameters

#### name

The name of the new User.

#### email

The email of the new User.

#### password

The password of the new User.

### Example

```
FM_api('User_new', ['name' => 'Test User', 'email' => user@domain.extension, 'password' => 'thisisapassword']);
```

### Result

#### On Success

```
{'ok':1,'id':'This would be the ID of the newly created User, e.g 123.'}
```

#### On Failure

```
{'error':'This would be the error message.'}
```
