# Create user

The method allows you to create a user. If a user with such an `email` is already registered, the method will return the corresponding error.

### Request:

| **Parameter** | **Required** | **Type** | **Description** |
| ------------- | ------------ | -------- | --------------- |
| email         | Yes          | String   | User's email    |

### Response:

| **Parameter** | **Type**       | **Description**                                     |
| ------------- | -------------- | --------------------------------------------------- |
| id            | String         | User ID                                             |
| email         | String         | User's email                                        |
| password      | String         | Generated password (shown only when created)        |
| lastLoginAt   | String or null | Date of the user's last login via the web interface |

{% openapi src="<https://615678623-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa1TzfeK1Z0GLFNxiNpMW%2Fuploads%2Fgit-blob-8361e5ac3780661a20a51ec0d96901ce1db69b92%2Fopenapi.json?alt=media>" path="/partner/api/create-user" method="post" %}
[openapi.json](https://615678623-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa1TzfeK1Z0GLFNxiNpMW%2Fuploads%2Fgit-blob-8361e5ac3780661a20a51ec0d96901ce1db69b92%2Fopenapi.json?alt=media)
{% endopenapi %}
