How to Add Questions to a Quiz via API (After Quiz is Created)?

Soi.C.5795
Soi.C.5795 Posts: 2 New Community Member

Hi everyone,

I’ve successfully created a quiz via the D2L API, and now I’m trying to add questions to that quiz programmatically.I’ve already reviewed the Valence API scopes, especially the quizzing:quiz:modify and related scopes, but I couldn’t find clear documentation or examples on how to create quiz questions and attach them to an existing quiz or endpoint create question directly.

A few things I’m trying to clarify:

  • Is there a supported endpoint for creating quiz questions (e.g., multiple choice, true/false)?
  • Any sample payloads, workflows, or API references that could point me in the right direction?

Any guidance or code samples would be a huge help 🙏

Thanks in advance

Tagged: