Scope requirements
Scope requirements
Retrieve users
- To retrieve all users, make a
GETrequest to/crm/objects/2026-03/users/. - To retrieve a specific user, make a
GETto/crm/objects/2026-03/users/{userId}. For example:crm/objects/2026-03/users/207838823235. - To retrieve a batch of users, make a
POSTrequest to/crm/objects/2026-03/users/batch/read. In the request body, includeidvalues of the users to retrieve. You can retrieve by the user ID or another unique identifier property. - To retrieve users that meet a specific set of criteria, make a
POSTrequest to/crm/objects/2026-03/users/searchand include search filters in the request body. Learn more about searching the CRM.
Return specific user properties
To return specific properties, include aproperties query parameter in the request URL along with comma-separated property names.
The following are commonly used properties when retrieving users. Learn more about other user properties or use the properties API to retrieve all user properties.
For example, to retrieve users with their job titles. additional phone numbers, and calendar connection status, a
GET request to crm/objects/2026-03/users?properties=hs_job_title,hs_additional_phone,hs_calendar_connection_status. Your response would look similar to:
Retrieve users by custom unique identifier property
For the batch read endpoint (POST /crm/objects/2026-03/users/batch/read), you can retrieve users by their ID or by another unique identifier property by including the idProperty field.
For example, to read a batch of users, your request could look like either of the following:
- Retrieve by user ID
- Retrieve by custom unique ID
Update users
You can update users by ID individually or in batches.- To update an individual user, make a
PATCHrequest to/crm/objects/2026-03/users/{userId}. - To update a batch of users, make a
POSTrequest to/crm/objects/2026-03/users/batch/update, including the user IDs or uniqueidPropertyin the request body.
User properties
To retrieve a list of all available user properties, you can use the properties API by making aGET request to crm/properties/2026-03/user. Learn more about using the properties API.
Below are the user properties that can be set through this API.
Working hours
hs_working_hours accepts a stringified JSON value. It consists of an array with an object for each set of working hours.
For example, if a user works Monday through Friday, 9:00AM to 5:00PM, you would format that as follows:
Out of office hours
If a user will be unavailable due to scheduled time off, you can set any periods during which they’ll be out of office using thehs_out_of_office_hours property:
- The property accepts an array of date ranges, each specified by a
startTimestampandendTimestamp. - The date ranges cannot overlap with one another, and the
startTimestampof each date range must be later than the previousstartTimestamp.
hs_out_of_office_hours property for a user:
Language skills
hs_main_user_language_skill or hs_secondary_user_language_skill must match an existing language skill. The following JSON array lists all valid options for language skill categories: