Skip to main content
GET
/
analytics
/
dashboards
/
appointments-breakdown
/
appointments-breakdown-summary
Get Appointments Breakdown Summary
curl --request GET \
  --url https://api.decodahealth.com/analytics/dashboards/appointments-breakdown/appointments-breakdown-summary \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "groupKey": "<string>",
  "totalAppointments": 123,
  "uniquePatients": 123,
  "uniqueProviders": 123,
  "uniqueLocations": 123,
  "uniqueServices": 123
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Query Parameters

timezone
string
required

Timezone for date grouping (e.g., 'America/New_York', 'UTC')

start_date
string | null
end_date
string | null
location_ids
string[] | null
location_names
string[] | null
provider_ids
string[] | null
patient_ids
string[] | null
service_ids
string[] | null
service_names
string[] | null
statuses
string[] | null
scheduling_types
string[] | null

Response

Successful Response

Summary statistics for a specific group.

groupKey
string
required

The group key this summary belongs to

totalAppointments
integer
required

Total number of appointments in this group

uniquePatients
integer
required

Number of unique patients

uniqueProviders
integer
required

Number of unique providers

uniqueLocations
integer
required

Number of unique locations

uniqueServices
integer
required

Number of unique services