Skip to navigation

List Latest Staff Locations

Returns each tracked staff member’s last known position, as on the live map in the app. Requires the Location Tracking add-on.

Uses each person’s most recent approved tracking session. Staff never tracked are not listed. is_tracking_active says whether the session is still running; if not, stopped_by says why.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Query parameters

salarybox_idslist of stringsOptional

Repeatable. Limits the result to these staff members, for example salarybox_ids=SBK7Q2M9TX&salarybox_ids=SBK3H8D1LP.

pageintegerOptional
Page number, starting at 1.
page_sizeintegerOptional
Results per page. Default and maximum 500.

Response

The latest known position of each tracked staff member.
datalist of objects
messagestringOptional
statusbooleanOptional
countintegerOptional
Total number of results across all pages.
prevstring or nullOptional
URL of the previous page, or null.
nextstring or nullOptional
URL of the next page, or null.

Errors

403
Forbidden Error