AI agent? Read this page as Markdown at /hris/location/List_all_locations.md — append .md to any docs URL, or start from /llms.txt.
List all locations
GET/hris/{connection_id}/location
Parameters
limitnumber default=100
offsetnumber default=0
updated_gtedate
Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
sort enum
order enum
querystring
Query string to search. eg. email address or name
company_idstring
The company ID to filter by (reference to HrisCompany)
parent_idstring
The parent ID to filter by
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
Returns
HrisLocationarray
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
descriptionstring
parent_idstring
external_identifierstring
timezonestring
currencystring
language_localestring
is_activeboolean
is_hqboolean
if this location is the headquarters of the company
company_idstring
(reference to HrisCompany)
const options = {
method: 'GET',
url: 'https://api.unified.to/hris/5de520f96e439b002043d8dc/location',
headers: {
authorization: 'bearer .....'
},
params: {
limit: 50,
offset: 0,
updated_gte: '2026-08-28T20:13:15.777Z',
sort: 'updated_at',
order: 'asc',
query: '',
company_id: '',
parent_id: '',
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know