Overview
Retrieve the current status of an encounter by providing one of: Encounter ID, GFE No, or Order No. This endpoint requires authentication to identify the tenant context.
This endpoint uses Machine-to-Machine (M2M) authentication.
Standard Bearer token (e.g., Bearer <your_access_token>).
See the M2M Authentication guide for details.
Must be set to application/json.
Request Body
This endpoint accepts a JSON request body with one of the following identifiers. At least one is required.
The numeric ID of the encounter to retrieve status for.
The GFE (Good Faith Estimate) identifier (e.g., EN-1764655275731).
The order number (e.g., ORD-1764655275834).
Curl
Request (by encounter ID)
Request (by GFE No)
Request (by Order No)
curl -X 'POST' \
'http://localhost:5001/encounters/status' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>' \
-H 'Content-Type: application/json' \
-d '{
"encounter_id": 2
}'
Response Parameters
The GFE identifier associated with the encounter.
An array of objects describing the GFE categories and status.
The top-level category for the GFE item.
gfe_data[].sub_category_name
The sub-category name for the GFE item.
Status for the specific GFE item (e.g., “pending_review”).
Details for the order associated with the encounter (if any).
order_details.order_status
The current order status (e.g., “paid”, “pending”).
Sub-total amount for the order.
order_details.grand_total
Grand total amount for the order.
Total amount paid for the order.
order_details.balance_amt
Remaining balance for the order.
order_details.total_shipping_amt
Total shipping amount charged on the order.
Status Codes
Status Description 200Success. Encounter status retrieved successfully.400Bad Request. Invalid payload or missing required identifier.401Unauthorized. Invalid or missing authentication token.403Forbidden. Insufficient permissions to view this encounter.
{
"encounter_id" : 2 ,
"gfe_no" : "EN-1764655275731" ,
"gfe_data" : [
{
"category_name" : "Prescription Meds" ,
"sub_category_name" : "Hair Loss" ,
"status" : "pending_review"
}
],
"order_details" : {
"order_no" : "ORD-1764655275834" ,
"order_status" : "paid" ,
"sub_total" : 30 ,
"grand_total" : 35 ,
"paid_amt" : 35 ,
"balance_amt" : 0 ,
"total_shipping_amt" : 5 ,
"created_date" : "2025-12-02 06:01:15"
}
}