get https://{subdomain}.kommo.com/api/v4/users/
This method allows to get the data of the user on the account by user’s ID
Limitations
Method is available for administrator users only.
Data type header when the request is successful
Content-Type: application/hal+json
Data type header in case of an error
Content-Type: application/problem+json
Parameters for GET-parameters “with”
Parameter | Description |
---|---|
role | Adds the user role into the response |
group | Adds the user group into the response |
uuid | Adds the user's UUID to the response, may be null, currently uuid is not used for third-party integrations |
amojo_id | Adds the user ID in the chat service to the response, may be null |
user_rank | Adds the user's rank to the response. Possible options: newbie/candidate/master |
Response parameters
Method returns a user object. The properties of the object are listed below.
Rights objects have a common structure. Depending on the entity type these objects contain available actions as keys and the rights for the action as a value. For example, rights[leads][view]=A.
Parameter | Data type | Description |
---|---|---|
id | int | User ID |
name | string | User fullname |
string | User email | |
lang | string | User language. One of the following: ru, en, es, pt |
rights | object | User rights |
rights[leads] | object | Leads access rights object |
rights[contacts] | object | Contacts access rights object |
rights[companies] | object | Companies access rights object |
rights[tasks] | object | Tasks access rights object |
rights[mail_access] | bool | Defines whether Mail functionality is allowed for the user |
rights[catalog_access] | bool | Defines whether Lists functionality is allowed for the user |
rights[is_admin] | bool | Defines whether the user has administrator rights |
rights[is_free] | bool | Defines whether it is a free user |
rights[is_active] | bool | Defines whether the user is active |
rights[group_id] | int|null | ID of the user’s group |
rights[role_id] | int|null | ID of the user’s role |
rights[status_rights] | array | An array of the objects that define stages rights |
rights[status_rights][0] | object | An object of stage rights |
rights[status_rights][0][entity_type] | string | Entity type. Only lead entity is supported at the moment. |
rights[status_rights][0][pipeline_id] | int | ID of the pipeline the stage is located in. |
rights[status_rights][0][status_id] | int | Stage ID |
rights[status_rights][0][rights] | object | Rights object |