GET
/
mr
/
api
/
v1
/
docs
/
{document_id}
curl --request GET \
  --url https://api.eka.care/mr/api/v1/docs/{document_id} \
  --header 'Authorization: Bearer <token>'
{
  "source": "androidp",
  "document_date_epoch": 1614556800,
  "document_type": "lr",
  "tags": [
    "covid"
  ],
  "files": [
    {
      "asset_url": "https://sample-lab-report.s3.ap-south-1.amazonaws.com/161494290947153/2df9e795-d368-4ceb-be9d-b44281703827/0cb1277e-1c4d-42cc-acd1-9630497e4f9d.jpeg",
      "file_type": "IMG"
    },
    {
      "asset_url": "https://sample-lab-report.s3.ap-south-1.amazonaws.com/161494290947153/2df9e795-d368-4ceb-be9d-b44281703827/0cb1277e-1c4d-42cc-acd1-9630497e4f9d.pdf",
      "file_type": "PDF"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

document_id
string
required

Document ID to fetch the document details.

Response

200
application/json
Description of a document.
source
string
document_date_epoch
integer
tags
string[]
dt
enum<string>
Available options:
lr,
ps,
ds,
vc,
in,
iv,
sc,
ot
files
object[]