cURL
curl --request POST \ --url https://api.eka.care/mr/api/v1/cases \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Pt-Id: <x-pt-id>' \ --data '{ "id": "CASE_ID", "display_name": "Leg Injury", "hi_type": "OPConsultation", "occurred_at": 1678886400, "type": "OP", "partner_meta": { "facility_id": "GH", "uhid": "UHID_1234" } }'
{ "id": "case_12345" }
This endpoint creates a new medical case.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Patient ID
Case created successfully
The response is of type object.
object
Was this page helpful?