Fetch Assessments by ID
This API allows you to fetch assessments for patients or doctors based on various filters such as status, workflow IDs, and date range.Example Request
Authorizations
Query Parameters
Comma-separated list of patient IDs.
Example:
"12345,67890"
Patient UUID.
Example:
"430915f2-c802-4442-be8d-8c725fb83555"
Doctor ID.
Example:
"174359082080545"
Status of the assessment.
Available options:
COMPLETED
, IN_REVIEW
Start date for filtering assessments (YYYY-MM-DD).
Example:
"2023-01-01"
End date for filtering assessments (YYYY-MM-DD).
Example:
"2023-12-31"
Comma-separated list of workflow IDs.
Example:
"1,2,3"
Filter assessments that are ABHA linkable.
Example:
true
Number of results to return per page.
Offset for pagination.
Sort order for results.
Available options:
asc
, desc
Response
Successful response with assessment data.
Example:
{
"12345": [
{
"conversationid": "sa_123456",
"created_at": "2023-06-15T12:34:56Z",
"created_epoch": 1686820496,
"wfid": 1,
"share_to_abha": true
},
{
"conversationid": "sa_123457",
"created_at": "2023-06-16T12:34:56Z",
"created_epoch": 1686906896,
"wfid": 2,
"share_to_abha": false
}
],
"67890": [
{
"conversationid": "sn_987654",
"created_at": "2023-06-17T12:34:56Z",
"created_epoch": 1686993296,
"wfid": 3,
"share_to_abha": true
}
]
}