ECLINICALWORKS
Fetch Appointments
Fetch appointments in eClinicalWorks
POSThttps://api.ontross.com/api/integrations/ecw/fetch-appointments
Request Fields
input
object
requiredInput object.
input.provider_name
string
requiredProvider name
input.date
string
requiredDate
auth_id
string
requiredAuth id
Output Fields
encounters
array
List of encounters.
encounters[].encounterId
string
Encounter id
encounters[].reason
string
Reason
encounters[].title
string
Title
encounters[].patientId
string
Patient id
encounters[].patientName
string
Patient name
encounters[].patientPhoneNumber
string
Patient phone number
encounters[].patientEmail
string
Patient email
encounters[].patientUpPhone
string
Patient up phone
encounters[].patientDob
string
Patient dob
encounters[].patientPreferredName
string
Patient preferred name
encounters[].doctorName
string
Doctor name
encounters[].doctorId
string
Doctor id
encounters[].facilityName
string
Facility name
encounters[].facilityId
string
Facility id
encounters[].start
string
Start
encounters[].end
string
End
encounters[].generalNotes
string
General notes
encounters[].visitType
string
Visit type
encounters[].visitStatus
string
Visit status
encounters[].billableVisitStatus
boolean
Billable visit status
encounters[].color
string
Color
encounters[].encLock
string
Enc lock
encounters[].eligibilityMessage
string
Eligibility message
encounters[].groupId
string
Group id
encounters[].claimRequired
boolean
Claim required
encounters[].transitionOfCare
string
Transition of care
encounters[].encType
string
Enc type
encounters[].dx
string
Dx
encounters[].RTServiceAuthorization
string
Rtservice authorization
encounters[].selfPay
string
Self pay
encounters[].deptId
string
Dept id
encounters[].resources
string
Resources
encounters[].ShowInsEligOnAppt
boolean
Show ins elig on appt
encounters[].userId
integer
User id
encounters[].eligibilityStatus
string
Eligibility status
encounters[].POS
string
Pos
encounters[].newPt
string
New pt
encounters[].status
string
Status
Code
curl --request POST \
--url https://api.ontross.com/api/integrations/ecw/fetch-appointments \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"provider_name":"string","date":"2026-01-01"},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"provider_name": "string",
"date": "2026-01-01"
},
"auth_id": "auth_uuid_here"
}