The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I have a service account that is an account admin that I make a number of other API calls with, but when I try to call Submissions - submissions for students endpoint I get a 401 status code back. Any ideas why I might be getting this error? I can get submissions via other endpoints like the assignments and other submission endpoints.
GET v1/courses/13/students/submissions
Solved! Go to Solution.
Probably nothing odd or language realted, you can see the issue in your browser.
Have you specified any student_ids[]:
"List of student ids to return submissions for. If this argument is omitted, return submissions for the calling user."
There is a special value "all".
So I'm guessing you want:
/api/v1/courses/239/students/submissions?student_ids[]=all
Hi @ross-h-miller ,
That is an odd one, are you using the standard account admin role (and not a custom one?).
I would also ask, have you tried this out in the Canvas Live API, as that might help to reveal any issues (see https://community.canvaslms.com/docs/DOC-14390-canvas-apis-getting-started-the-practical-ins-and-out... ) there are links to it in that document.
If none of those work, can you please let us know the language you are using and a full code example for us to have a look at?
Many thanks,
Stuart
Probably nothing odd or language realted, you can see the issue in your browser.
Have you specified any student_ids[]:
"List of student ids to return submissions for. If this argument is omitted, return submissions for the calling user."
There is a special value "all".
So I'm guessing you want:
/api/v1/courses/239/students/submissions?student_ids[]=all
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in