# Create User

## Overview

{% hint style="success" %}

### Endpoint

* **Method:** POST
* **URL:** /`user`
  {% endhint %}

### Body

#### Optional

```json
{
   "reference": "xerial@example.io"
}
```

### Header

* **Field:** Authorization
* **Value:** `Bearer + (Access token)`

### Responses

#### Success (Code 200)

```json
{
    "refrence": "xerial@example.com", 
     "id": "5ebac534954b54139806c112",
     "project": "6601f93s3ff2ea0348edeb6a",
}
```

* **Media Type**: application/json
* **Example Value**: An object containing the all information about the user.

## Usage

1. **Send a POST request** to the `/user` endpoint to create a new user.
2. **Handle the response accordingly** based on success, unauthorized access or internal server error.

**Note:** Ensure the user is authenticated before making the request.
