cURL
curl --request GET \ --url https://test-api.afrainity.com/api/v1/school/sessions/default-session/ \ --header 'Authorization: Bearer <token>'
{ "id": 1, "name": "2024 Academic Year", "start_date": "2024-01-15", "end_date": "2024-12-15", "is_active": "True" }
Retrieve the currently active academic session in the system
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>