Get list of users
query Parameters
emailstringFind a user by their email
rolestring · enumThe role to filter users by.
The role of the user
Enum values:principalattorneyparalegaltimekeeperoperatoraccountantquerystringSearch query (searches user by first name, last name, initials, or email)
queryFullMatchbooleanIf true, the query passed in must match the full field. For example, if passing in "JO" it will match someone with those initials but not the first name "John". If false, the query will return record that partially match the field. Default: false.
selectstringUsed to include additional detail in the response with a comma-separated list of object identifiers. Fields can be prefixed with a minus sign to exclude them. Supported fields: customFields
Responses
OK
dataarray | nullThe data returned by the API
Update a user's custom fields
Custom fields are the only part of a user that can be changed through the API. Everything else about a user - name, email, role, rates - is managed in LeanLaw itself.
path Parameters
idstring · uuid · requiredThe id of the user to update
Request Body
customFieldsarray | nullCustom field values to set. Only the fields listed are changed - omit the property entirely to leave every custom field alone, and set an entry's value to null to clear that one field. Ids come from GET /v2/custom-fields?entity=user.
Responses
OK
dataobjectA user in the firm