QEHSQEHS

Developer portal

Get record

Retrieve a single record including activity log and attachment metadata.

GET/api/v1/records/{id}
records

Parameters

NameInTypeRequiredDescription
idPathstringrequiredRecord ID.

Example response

{ "id": "rec_01J...", "payload": {}, "attachments": [], "activity": [] }

When to use this endpoint

  • Fetch a single record to display in a mobile or web app.
  • Pull activity log to show an audit trail in an external dashboard.

Error codes

All endpoints may also return universal errors (401, 403, 429, 500). Error catalog →

Code samples

curl -s -X GET 'https://app.qehsethos.com/api/v1/records/rec_01JEXAMPLE' \
  -H 'Authorization: Bearer $QEHS_API_KEY' \
  -H 'Content-Type: application/json'

See also