QEHSQEHS

Developer portal

API console

Pick an endpoint, fill parameters, copy a ready-to-run curl command. Example responses mirror what the live API returns. No auth configured? Read the authentication guide first.

Paginated list of records for a module with filters.

Parameters

The module slug (e.g. incidents, inspections, permits).

Filter by workflow state key.

Page size (max 100).

Generated request

curl -X GET 'https://api.qehsethos.com/api/v1/records?moduleKey=incidents' \
  -H 'Authorization: Bearer qehs_live_••••'

Example response

{
  "data": [
    {
      "id": "rec_01HZY2RP6K8Z",
      "moduleKey": "incidents",
      "title": "Forklift near-miss — Bay 3",
      "status": "investigation",
      "createdAt": "2026-04-14T14:32:05Z",
      "reportedBy": "usr_01HZXY000X"
    }
  ],
  "nextCursor": "eyJpZCI6InJlY18wMUha...",
  "total": 231
}

The console is a curl-builder — it does not run live requests. Run the command against your sandbox tenant (free on every paid plan) to see the real response.