Thanks for you reply -
-
To fetch assignment groups and assignment IDs:
GET /api/v1/courses/:course_id/assignment_groups?include[]=assignment_visibility&include[]=assignments&scope_assignments_to_student=true&include[]=submission
-
For each assignment, we fetch submissions using:
GET /api/v1/courses/:course_id/assignments/:assignment_id/submissions?include[]=user&per_page=100
This approach works but is inefficient for large courses (3,000+ users) due to multiple paginated calls per assignment.
To optimize this, we attempted to use the bulk API:
GET /api/v1/courses/:course_id/students/submissions?per_page=100&include[]=assignment&include[]=user
However, this consistently returns a permission error — even when using a Root Admin access token:
{
"status": "unauthorized",
"errors": [
{
"message": "user not authorized to perform that action"
}
]
}
We have verified:
-
The course belongs to the correct account
-
The admin role has full permissions (View all grades, View user list, etc.)
-
The token used is from a root-level admin (not scoped via Developer Key)
-
Other admin APIs are working correctly with the same token
Could you please assist us in identifying why this endpoint is rejecting even authorized admin access?
Any clarification or guidance would be highly appreciated, as this endpoint is critical for performance optimization on our platform.
FYI - I am trying in postman right now but its not working