Skip to main content
GET
List staff

Authorizations

Authorization
string
header
required

JWT issued by POST /api/external/token/request. Send as Authorization: Bearer <token>.

external-gh-apim-sub-key
string
header
required

Guardhouse API Management subscription key. Required on every request. The same value is used by all API consumers within a region — contact Guardhouse Support for the subscription key.

Query Parameters

searchText
string

Free-text filter across staff name and identifier columns.

isActive
boolean
default:true

When true (default), only return active staff.

referenceId
integer<int32>

Cursor anchor ID. Pass the last incidentReportId (or equivalent) you saw to fetch the next page.

referenceName
string

Cursor anchor name when paginating across results sorted by name.

limit
integer<int32>
default:20

Maximum number of records to return.

direction
enum<string>
default:next

Cursor pagination direction. Use next to page forward and prev to page back.

Available options:
next,
prev
filter
string

Response

Paginated list of staff

Envelope for the newer cursor-paginated endpoints (timesheets, staff, customers, sites). The cursor is encoded as a string in nextPageParameter / prevPageParameter and is intended to be POSTed back as the next request body — or appended to the query string verbatim.

status
object
data
object[]

Endpoint-specific payload. null when an error occurred.

count
integer<int32> | null
message
string
errors
object[]
nextPageParameter
string | null
prevPageParameter
string | null