Skip to content

SunCharts Connect API

Appointments

Connect API 1.1.0 4 operations openapi.json ↓

# PHI-free clinic display board (front desk / waiting room)

GET /api/v1/display/board

Today's schedule board, provider status, waiting-room queue and clinic metrics with patients shown only as ticket numbers (schedule order, `A01`…) or initials. Callable with a `display`-scoped device session or a normal user session. Refresh every `refresh_secs`.

Access End-user access token

Parameters

Name In Type Details
connection query string (uuid)
date query string (date)
tz query string
privacy query string

Responses

200 OK application/json
Fields DisplayBoard · 51
Field Type Details
board array of object
end_time string
label string Ticket (`A07`) or, with `privacy=initials`, initials (`J.F.`). Never a name.
provider_name string
start_time string
status string one of scheduled, waiting, in_room, done, no_show, telehealth
ticket string
clinic object
name string
connection_id string (uuid)
date string (date)
generated_at string (date-time)
metrics object
arrived integer
completion_pct integer
in_room integer
no_show integer
remaining integer
scheduled integer
seen integer
telehealth integer
waiting integer
now string
now_serving array of object
label string Ticket (`A07`) or, with `privacy=initials`, initials (`J.F.`). Never a name.
provider_name string
ticket string
privacy string one of tickets, initials
providers array of object
behind_min integer
current object
label string Ticket (`A07`) or, with `privacy=initials`, initials (`J.F.`). Never a name.
since string
ticket string
id string
name string
next_time string
remaining integer
seen integer
status string one of with_patient, patient_waiting, available, done
total integer
waiting integer
queue array of object
label string Ticket (`A07`) or, with `privacy=initials`, initials (`J.F.`). Never a name.
position integer
provider_name string
start_time string
ticket string
refresh_secs integer
tz string
warnings array of object
Example response placeholder values
{
  "board": [
    {
      "end_time": "string",
      "label": "string",
      "provider_name": "string",
      "start_time": "string",
      "status": "scheduled",
      "ticket": "string"
    }
  ],
  "clinic": {
    "name": "string"
  },
  "connection_id": "00000000-0000-4000-8000-000000000000",
  "date": "2026-01-15",
  "generated_at": "2026-01-15T15:30:00Z",
  "metrics": {
    "arrived": 1,
    "completion_pct": 1,
    "in_room": 1,
    "no_show": 1,
    "remaining": 1,
    "scheduled": 1,
    "seen": 1,
    "telehealth": 1
  },
  "now": "10:42",
  "now_serving": [
    {
      "label": "string",
      "provider_name": "string",
      "ticket": "string"
    }
  ]
}
default Error (neutral code) application/json
Fields Error · 5
Field Type Details
error required string Stable machine code. Known values: `unauthorized`, `forbidden`, `not_found`, `bad_request`, `conflict`, `rate_limited`, `mfa_required`, `mfa_invalid`, `mfa_enrollment_required`, `openemr_link_required`, `openemr_relink_required`, `upstream_error`, `internal`. New codes may be added within v1: treat unknown values like the HTTP status.
connection_id string EHR connection that needs (re)linking (on `openemr_link_required` / `openemr_relink_required`)
link string How to link the connection (on `openemr_link_required` / `openemr_relink_required`)
message string Human-readable detail (do not branch on it; on 409 the text before the first `:` is a sub-code)
retry_after integer Seconds to wait (on `rate_limited`; also sent as `Retry-After`)

Example call

curl "https://sandbox-api.suncharts.app/api/v1/display/board" -H "Authorization: Bearer $TOKEN"

# Schedule grid by provider/room

GET /api/v1/schedule/grid

Access End-user access token

Parameters

Name In Type Details
connection query string (uuid)
date query string (date)
slot_minutes query integer

Responses

200 OK application/json

Body: object

default Error (neutral code) application/json
Fields Error · 5
Field Type Details
error required string Stable machine code. Known values: `unauthorized`, `forbidden`, `not_found`, `bad_request`, `conflict`, `rate_limited`, `mfa_required`, `mfa_invalid`, `mfa_enrollment_required`, `openemr_link_required`, `openemr_relink_required`, `upstream_error`, `internal`. New codes may be added within v1: treat unknown values like the HTTP status.
connection_id string EHR connection that needs (re)linking (on `openemr_link_required` / `openemr_relink_required`)
link string How to link the connection (on `openemr_link_required` / `openemr_relink_required`)
message string Human-readable detail (do not branch on it; on 409 the text before the first `:` is a sub-code)
retry_after integer Seconds to wait (on `rate_limited`; also sent as `Retry-After`)

Example call

curl "https://sandbox-api.suncharts.app/api/v1/schedule/grid" -H "Authorization: Bearer $TOKEN"

# Today's schedule, KPIs, now/next

GET /api/v1/today

Access End-user access token

Parameters

Name In Type Details
connection query string (uuid)
date query string (date)
tz query string
scope query string

Responses

200 OK application/json
Fields Today · 22
Field Type Details
connection_id string
date string
kpis object
next any
now any
scope string
timeline array of Appointment
duration_min integer
end string
facility any
patient object
dob string
mrn string
name string
pid any
uuid string
provider any
provider_uuid string
start string
status string
title string
tz string
Example response placeholder values
{
  "connection_id": "string",
  "date": "string",
  "kpis": {},
  "next": null,
  "now": null,
  "scope": "string",
  "timeline": [
    {
      "duration_min": 1,
      "end": "string",
      "facility": null,
      "patient": {
        "dob": "string",
        "mrn": "string",
        "name": "string",
        "pid": null,
        "uuid": "string"
      },
      "provider": null,
      "provider_uuid": "string",
      "start": "string",
      "status": "string"
    }
  ],
  "tz": "string"
}
default Error (neutral code) application/json
Fields Error · 5
Field Type Details
error required string Stable machine code. Known values: `unauthorized`, `forbidden`, `not_found`, `bad_request`, `conflict`, `rate_limited`, `mfa_required`, `mfa_invalid`, `mfa_enrollment_required`, `openemr_link_required`, `openemr_relink_required`, `upstream_error`, `internal`. New codes may be added within v1: treat unknown values like the HTTP status.
connection_id string EHR connection that needs (re)linking (on `openemr_link_required` / `openemr_relink_required`)
link string How to link the connection (on `openemr_link_required` / `openemr_relink_required`)
message string Human-readable detail (do not branch on it; on 409 the text before the first `:` is a sub-code)
retry_after integer Seconds to wait (on `rate_limited`; also sent as `Retry-After`)

Example call

curl "https://sandbox-api.suncharts.app/api/v1/today" -H "Authorization: Bearer $TOKEN"