Skip to main content
The Locations API allows you to manage physical locations where assets and users can be assigned.

List Locations

integer
default:"50"
Number of results to return
integer
default:"0"
Offset for pagination
Search string to filter results
string
default:"created_at"
Column to sort by. Allowed values: id, name, address, address2, city, state, country, zip, manager, parent, assets_count, assigned_assets_count, users_count
string
default:"desc"
Sort order: asc or desc
integer
Filter by parent location ID
integer
Filter by location manager ID
integer
Filter by company ID
integer
Total number of locations
array
Array of location objects

Get Location by ID

integer
required
The location ID

Create Location

string
required
Location name
string
Street address
string
Address line 2
string
City
string
State/province
string
Country (2-letter code)
string
ZIP/postal code
string
Phone number
string
Fax number
integer
Parent location ID (for hierarchical locations)
integer
Location manager’s user ID
integer
Company ID
string
Currency code (e.g., USD, EUR)
string
LDAP organizational unit
string
Location notes

Update Location

integer
required
The location ID

Delete Location

integer
required
The location ID

Get Location’s Users

integer
required
The location ID
integer
default:"50"
Number of results to return
integer
default:"0"
Offset for pagination
Returns all users assigned to this location.

Get Location’s Assets

integer
required
The location ID
integer
default:"50"
Number of results to return
integer
default:"0"
Offset for pagination
Returns all assets with this as their default location.

Get Assigned Assets

integer
required
The location ID
Returns all assets currently assigned to this location.

Get Assigned Accessories

integer
required
The location ID
Returns all accessories currently assigned to users at this location.