# Sign Up

## Sign up

<mark style="color:green;">`POST`</mark> `/api/users/signUp`

**Access Permissions**

* All

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**Body**

<table><thead><tr><th width="192">Name</th><th width="331">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>userId</code></td><td>String</td><td>ID of the user</td></tr><tr><td><code>password</code></td><td>String</td><td>Age of the user</td></tr><tr><td><code>userName</code></td><td>String</td><td>Name of the user</td></tr><tr><td><code>phoneNumber</code></td><td>String</td><td>Phone Number of the user</td></tr><tr><td><code>userRole</code></td><td>Enum<br>(Shipper, HubAdmin, Company, Master)</td><td>Role of the user</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "id": 1,
  "userId": "baedal123",
  "userName": "김배달",
  "phoneNumber": "010-1234-1234",
  "userRole": "Shipper"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
