GET
/
mr
/
api
/
v1
/
cases
List Cases
curl --request GET \
  --url https://api.eka.care/mr/api/v1/cases \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Pt-Oid: <x-pt-oid>'
{
  "cases": [
    {
      "id": "case_id_1",
      "status": "A",
      "updated_at": 1753958070,
      "item": {
        "display_name": "Leg Injury",
        "type": "OPConsultation",
        "created_at": 1753958060
      }
    }
  ],
  "next_token": "i_m_next_page_token"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Pt-Oid
string
required

Patient ID associated with the case

Query Parameters

offset
string

Token to fetch the next page of results

u_at__gt
string | null

Return only records with updated_at greater than this value (used for incremental sync)

Example:

1614556800

Response

200
application/json

List of cases

The response is of type object.