sort to order results and paginate with count and cursor.
Request
GET https://api.clinikapi.com/v1/appointments
Headers
Your ClinikAPI secret key (
clk_live_* or clk_test_*).Query Parameters
Filter by patient ID.
Filter by appointment status.
Return appointments starting on or after this date (
YYYY-MM-DD).Return appointments starting on or before this date (
YYYY-MM-DD).Sort field. Prefix with
- for descending order (e.g. -start).Results per page. Default:
20. Maximum: 100.Pagination cursor from the previous response.
Response
Returns200 OK with a paginated list of appointments.
Array of appointment objects.
Total matching appointments.
Cursor for the next page.
true if more pages exist.Standard response metadata.