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

# Create New User

## Create a new user

<mark style="color:green;">`POST`</mark> `https://api-alpha.dev.bantupay.org/v2/user`

#### Headers

| Name                  | Type   | Description                                                               |
| --------------------- | ------ | ------------------------------------------------------------------------- |
| X-BANTUPAY-PUBLIC-KEY | string | Bantu Blockchain Public key here                                          |
| X-BANTUPAY-SIGNATURE  | string | The payload can be singed with <https://request-signer.dev.bantu.network> |

#### Request Body

| Name             | Type   | Description |
| ---------------- | ------ | ----------- |
| verificationCode | string |             |
| username         | string |             |
| email            | string |             |
| lastName         | string |             |
| firstName        | string |             |
| middleName       | string |             |
| gender           | string |             |
| mobile           | string |             |
| telegram         | string |             |
| twitter          | string |             |
| imageThumbnail   | string |             |

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

```bash
{ "publicKey": "string" }
```

{% endtab %}

{% tab title="404 " %}

```bash
{
  "error": "string",
  "data": "string",
  "message": "string"
}
```

{% endtab %}
{% endtabs %}
