v1
latestOpenAPI 3.0.32026-07-26229361630.0 KBCases
List Cases
This endpoint returns a list of all cases. Results are always ordered by ascending value of updated_at.
Note: Use the offset param (i.e. next_token) for pagination and u_at__gt for incremental sync.
get/mr/api/v1/cases
Query parameters
offsetstring
Token to fetch the next page of results
u_at__gtinteger
Example:1614556800
Return only records with updated_at greater than this value (used for incremental sync)
Headers
X-Pt-Idstring required
Patient ID associated with the case
Response
List of cases
Example response
{
"cases": [
{
"id": "case_id_1",
"status": "A",
"updated_at": 1753958070,
"item": {
"display_name": "Leg Injury",
"type": "OP",
"hi_type": "OPConsultation",
"partner_meta": {
"facility_id": "GH",
"uhid": "UHID_1234"
},
"created_at": 1753958060,
"occurred_at": 1753958060
}
}
],
"next_token": "i_m_next_page_token"
}