Skip to main content
GET
List incident reports

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

customerId
string

Semicolon-separated list of customer IDs. Defaults to the customers your API key is scoped to.

siteId
string

Semicolon-separated list of site IDs. Defaults to the sites your API key is scoped to.

companyId
string

Company ID. Normally derived from your API key claims; only set this if you have multi-company access.

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.

referenceDateTime
string<date-time>

Cursor anchor timestamp when paginating across time-sorted results.

startDate
string<date-time>

Inclusive start of the date filter (UTC).

endDate
string<date-time>

Inclusive end of the date filter (UTC).

searchText
string

Free-text filter applied across name and identifier columns.

limit
integer<int32>
default:100

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
isApproved
boolean
default:false

When true, return only approved reports.

formName
string

Filter by form template name.

reportId
string

Filter by the human-facing report ID.

Response

Paginated list of incident reports

Envelope for paginated list endpoints. The cursor is encoded in nextPageParams / prevPageParams.

status
object
data
object[]

Endpoint-specific payload. null when an error occurred.

count
integer<int32> | null
message
string
errors
object[]
recordCount
integer<int32> | null
totalRecordCount
integer<int32> | null
prevPageEndpoint
string | null
prevPageParams
string | null
nextPageEndpoint
string | null
nextPageParams
string | null