# Get all users

The method allows you to get all users

### Request:

| **Parameter** | **Required** | **Type** | **Description**                              |
| ------------- | ------------ | -------- | -------------------------------------------- |
| userId        | Yes          | String   | User ID                                      |
| limit         | Yes          | Number   | Limit on the number of users in the response |
| offset        | Yes          | Number   | Offset (for pagination)                      |

### Response:

| **Parameter** | **Type** | **Description**       |
| ------------- | -------- | --------------------- |
| users         | Array    | Array of user objects |
| total         | Number   | Total number of users |

**User object:**

| **Parameter** | **Type**       | **Description**                                                 |
| ------------- | -------------- | --------------------------------------------------------------- |
| id            | String         | User ID                                                         |
| email         | String         | User's email                                                    |
| utm           | String or null | UTM tag data (if the user has registered via the web interface) |
| createdAt     | String         | User registration date                                          |
| confirmedAt   | String or null | Date of confirmation of the user's mail                         |
| lastLoginAt   | String         | 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/get-users" 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 %}
