Getting user data by its ID

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”

ParameterDescription
roleAdds the user role into the response
groupAdds the user group into the response
uuidAdds the user's UUID to the response, may be null, currently uuid is not used for third-party integrations
amojo_idAdds the user ID in the chat service to the response, may be null
user_rankAdds 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.

ParameterData typeDescription
idintUser ID
namestringUser fullname
emailstringUser email
langstringUser language. One of the following: ru, en, es, pt
rightsobjectUser rights
rights[leads]objectLeads access rights object
rights[contacts]objectContacts access rights object
rights[companies]objectCompanies access rights object
rights[tasks]objectTasks access rights object
rights[mail_access]boolDefines whether Mail functionality is allowed for the user
rights[catalog_access]boolDefines whether Lists functionality is allowed for the user
rights[is_admin]boolDefines whether the user has administrator rights
rights[is_free]boolDefines whether it is a free user
rights[is_active]boolDefines whether the user is active
rights[group_id]int|nullID of the user’s group
rights[role_id]int|nullID of the user’s role
rights[status_rights]arrayAn array of the objects that define stages rights
rights[status_rights][0]objectAn object of stage rights
rights[status_rights][0][entity_type]stringEntity type. Only lead entity is supported at the moment.
rights[status_rights][0][pipeline_id]intID of the pipeline the stage is located in.
rights[status_rights][0][status_id]intStage ID
rights[status_rights][0][rights]objectRights object
Language
Credentials
OAuth2
URL
Click Try It! to start a request and see the response here!