Skip to main content
GET
List student absences

Authorizations

Authorization
string
header
required

Access token issued by POST /sessions and associated with a valid server-side session.

Query Parameters

company_id
string<uuid>
required

Company UUID. Must equal the authenticated session company when that session has a company assigned; the equality check is skipped for sessions without one.

school_id
string<uuid>

School UUID. Omit to use the operation's documented company/session scope.

student_id
string<uuid>

Required when school_id is omitted; takes precedence over school_id.

date_from
string<date>

Inclusive start date in YYYY-MM-DD. Required date_from unless last_n_days is supplied; date_to defaults to today.

date_to
string<date>

Inclusive end date in YYYY-MM-DD. Required date_from unless last_n_days is supplied; date_to defaults to today.

last_n_days
integer

Rolling date window; mutually exclusive with explicit dates.

Required range: x >= 1
sort_by
enum<string>
default:date_desc

Sort by a supported column with an _asc or _desc suffix.

Available options:
date_asc,
date_desc,
student_id_asc,
student_id_desc
page
integer
default:1

One-based page number.

Required range: x >= 1
per_page
integer
default:100

Items per page; values greater than 500 are clamped to 500.

Required range: x >= 1

Response

Successful response.

id
string
required
date
string<date-time>
required
student_id
string
required

Student id.

absent_note
string | null
required