appointments

Get today's customer-care calls

Return a paginated customer-care call queue with complete filter facets and per-type counts. When patient_id is set, return that patient's call history regardless of day.

get/api/appointments/customer-care/today-calls

Query parameters

operator_idstring uuid nullable

Admin-only filter by customer-care operator ID

Admin-only filter by customer-care operator ID

patient_idstring uuid nullable

Filter to all calls for a single patient UUID, ignoring the day filter.

Filter to all calls for a single patient UUID, ignoring the day filter.

daystring date nullable

Day to inspect (YYYY-MM-DD). Defaults to today; ignored when patient_id is set.

Day to inspect (YYYY-MM-DD). Defaults to today; ignored when patient_id is set.

call_filter'ALL' | 'AGREED' | 'SUPPORT' | 'EXTRA' | 'FREE_RESCHEDULE'

Mutually exclusive filters exposed by the customer-care call queue.

Queue filter: ALL, AGREED, SUPPORT, EXTRA, or FREE_RESCHEDULE.

pageinteger

One-based page number.

One-based page number.

page_sizeinteger

Items per page.

Items per page.

Response

Successful Response

totalinteger required
unfiltered_totalinteger

Total before call_filter is applied; useful for the ALL preview.

daystring date nullable
pageinteger
page_sizeinteger
total_pagesinteger
call_filter'ALL' | 'AGREED' | 'SUPPORT' | 'EXTRA' | 'FREE_RESCHEDULE'

Mutually exclusive filters exposed by the customer-care call queue.

counts_by_typeobject

Complete counts by raw call type, before call_filter is applied.

completedinteger
pendinginteger
to_dointeger
to_rescheduleinteger
no_answerinteger
cancelledinteger

Changes