Base URL
All REST API endpoints are relative to your Sakai installation:Available Endpoints
Announcements
Get announcements for the current user from their pinned sites
webapi/src/main/java/org/sakaiproject/webapi/controllers/AnnouncementsController.java:56
Calendar
Get calendar events for the current user
webapi/src/main/java/org/sakaiproject/webapi/controllers/CalendarController.java:47
Grades
Get gradebook information for a site
siteId(path) - The site identifier
webapi/src/main/java/org/sakaiproject/webapi/controllers/GradesController.java
Forums/Discussions
Get forum topics and messages for the current user
webapi/src/main/java/org/sakaiproject/webapi/controllers/ForumsController.java
Dashboard
Get dashboard information for the current user
webapi/src/main/java/org/sakaiproject/webapi/controllers/DashboardController.java
Conversations
Get conversations (discussion topics) for a site
Create a new conversation topic
webapi/src/main/java/org/sakaiproject/webapi/controllers/ConversationsController.java
Lessons
Get lesson pages for a site
webapi/src/main/java/org/sakaiproject/webapi/controllers/LessonsController.java
Notifications
Get notifications for the current user
Mark a notification as read
webapi/src/main/java/org/sakaiproject/webapi/controllers/NotificationsController.java
Permissions
Get current user’s permissions for a site
webapi/src/main/java/org/sakaiproject/webapi/controllers/PermissionsController.java
Response Format
All endpoints return JSON by default. The response structure typically includes:Error Responses
Error details when a request fails
HTTP Status Codes
200 OK- Request successful201 Created- Resource created successfully400 Bad Request- Invalid request parameters401 Unauthorized- Authentication required403 Forbidden- Insufficient permissions404 Not Found- Resource not found500 Internal Server Error- Server error
Next Steps
Authentication
Learn how to authenticate with the REST API
Examples
View practical REST API usage examples