Tross
Demo dataBook a demo
ATHENA

Fetch appointments

List schedule slots and booked appointments.

POSThttps://preview.ontross.com/api/integrations/athena/fetch-appointments
Request Fields
input.date
string
required
Single calendar day of appointments and slots to return.
Example
"2026-07-30"
input.schedule_id
string
required
Provider calendar to read, sent as scheduleIds.
Example
"47902-1-1"
input.org_id
string
required
Practice context, shown in the athenanet portal URL.
Example
47902
auth_id
string
required
Saved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"
Output Fields
slots
array
Calendar slots for the day, including frozen and template ones.
appointments
array
Booked appointments, or scraped history table rows for the patient operation.
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/athena/fetch-appointments \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"date":"2026-07-30","schedule_id":"47902-1-1","org_id":47902},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "date": "2026-07-30",
    "schedule_id": "47902-1-1",
    "org_id": 47902
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "slots": [
      {}
    ],
    "appointments": [
      {}
    ]
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}