# Register User

## Register User

<mark style="color:green;">`POST`</mark> `https://{server_address}/api/v1/organization/users/register`

This endpoint works similar to [Create User](https://docs.blynk.io/en/~/revisions/ynmC8lZ6FPocTYWigjcO/blynk.cloud/organization-https-api/organization-members/create-user) endpoint, but instead of creating user, it send email to the user, under which he should register and enter data by himself.

#### Headers

| Name                                            | Type                   | Description |
| ----------------------------------------------- | ---------------------- | ----------- |
| Authorization<mark style="color:red;">\*</mark> | Bearer {access\_token} |             |
| Content-Type<mark style="color:red;">\*</mark>  | application/json       |             |

#### Request Body

| Name                                    | Type               | Description                                                                                                                                                                                                                                |
| --------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| email<mark style="color:red;">\*</mark> | <john@example.com> | New user's email                                                                                                                                                                                                                           |
| locale                                  | en\_US             | New user's locale. The locale is consist of two-letter language code defined by ISO 639-1 (e.g., "en" for English) and a two-letter country code defined by ISO 3166-1 alpha-2 (e.g., "US" for the United States) separated by underscore. |

{% tabs %}
{% tab title="204: No Content Registration email sent" %}

{% endtab %}
{% endtabs %}

Request examples:

<pre class="language-bash"><code class="lang-bash"># curl command example:
$ curl -X POST -H "Content-Type: application/json" \
<strong>      -H "Authorization: Bearer {accessToken}" \
</strong>      -d '{"email":"test@example.com","locale":"en_US"}' \
      https://fra1.blynk.cloud/api/v1/organization/users/register

$ curl -X POST -H "Content-Type: application/json" \
      -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" \
      -d '{"email":"test@example.com","locale":"en_US"}' \
      https://fra1.blynk.cloud/api/v1/organization/users/register
</code></pre>
