List sessions (appointments)
practice_better_list_sessionsRead-only
List sessions (appointments), newest first: date, duration, service, practitioner, client (id and name), status and payment status. Booking notes and session notes are not returned. Filter by date range, practitioner, client record, service or group/1-1. GET /consultant/sessions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | true = only group sessions, false = only 1-1 sessions. | |
| limit | No | Results per page, 1-100 (default 25). | |
| after_id | No | Cursor for lists in ascending order: return items after this id. Normally use before_id. | |
| before_id | No | Cursor: pass next_page.before_id of the previous reply to get the next page (lists are newest first). | |
| date_after | No | Sessions on or after this date-time (ISO 8601 with timezone). | |
| record_ids | No | Only sessions of these client records. | |
| date_before | No | Sessions on or before this date-time (ISO 8601 with timezone). | |
| service_ids | No | Only sessions of these services (ids from practice_better_list_services). | |
| practitioner_ids | No | Only sessions of these practitioners (ids from practice_better_list_practitioners). |