Found this content helpful? Log in or sign up to leave a like!

Clarification on quiz_type for Graded Quizzes in Canvas API

Jump to solution
brandon42
Community Explorer

Hi Canvas Community 👋,

I'm working with the Canvas LMS API and I'm using the POST /api/v1/courses/:course_id/quizzes endpoint to create quizzes programmatically.

According to the documentation, the allowed values for quiz[quiz_type] are:

  • practice_quiz

  • assignment

  • graded_survey

  • survey

However, in the Canvas UI, I see an option for "Graded Quiz", but the API doesn't seem to list "graded_quiz" explicitly.

💬 My question is:
Is "assignment" the correct value to use in the API when I want to create a Graded Quiz (i.e., one that appears in the Gradebook and contributes to the student's grade)?

Any official confirmation or experience from other developers would be appreciated!

Labels (3)
0 Likes
1 Solution
chriscas
Community Coach
Community Coach

Hi @brandon42,

As far as I know, you're correct that "assignment" in that API field would equate to "graded quiz" in the web view of Canvas.

-Chris

View solution in original post