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.
Hi Team,
We have gone through the Canvas documents to get relevant API to POST the Grade Details but could not find required API ,
Kindly share the API to POST the Grade Details into the CANVAS.
Regards,
Neha
Hi,
By any chance did you find the solution for the above as I am also looking into a similar problem.
Thanks
Use the Submissions API to grade or comment on a submission.
Hi James,
Thanks for the quick reply. I tried using the submissions and here are my concerns.
1. We are trying to update the Grades of the Candidates in canvas from SQL server using SSIS (Visual Studio).
2. I used the GET method to test whether I am going in a right direction and if the API is working or not and it is perfect but when I used the POST method to post the sample grades for few candidates - I found an issue.
3. The issue is like below. It would be really great if you can suggest where I am doing wrong. Any help would be appreciated.
Thanks!
Here are some things to check. I'm not saying it's one of these, just this is the list I would start with.
Hi James,
Thank you for the comments, I just checked all the above and here is how it is.
1. No, I am not including any Authorization header. What should we enter over there as I didn't see anything for this in the API documentation - May be I might have missed it too.
2. Yes, It is a API Token through the developer key. I will check into this whether I have write permissions or not.
3. The token is not yet expired.
4. Course and assignments are correct as of now.
5. I am not sure if I got this point - Can you please explain.
Thanks!!
You mention that it works as a GET but not a POST, so you must be passing the authorization token somehow. The instructions appear on the top page for the API: Welcome to the Canvas LMS API Documentation. Typically, this is done with an Authorization: Bearer <token> header. For a GET, it can be included in the URL although that is discouraged.
OAuth2 is a way of getting a token, but you still need to include it with the request with the Authorization header. Tokens obtained through OAuth2 expire after an hour and it's up to the application to refresh the token to generate a new one.
Multiple grading periods are often used K-12 (in the U.S.) education. I'm in higher education, so I'm not all that familiar with them, but I think I read of people having issues changing grades outside of the grading period. If you have no idea what multiple grading periods are, then it probably doesn't affect you.
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
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.