Request for API Access to Start and Submit Quiz Attempts via REST API
Dear Brightspace Support Team,
We are currently integrating Brightspace with our internal systems and would like to automate the quiz-taking process for users via API. Specifically, we are looking for REST API endpoints that allow us to:
- Start a quiz attempt for a user
- Submit answers to quiz questions programmatically
- Finalize and submit the quiz attempt
We have reviewed the Valence API documentation and were unable to locate endpoints that support these actions. We would appreciate clarification on the following:
- Are there existing or upcoming API endpoints that support quiz attempt creation and submission?
- If not, is there an alternative approach (e.g., LTI, xAPI, or internal APIs) that Brightspace recommends for this use case?
- Is it possible to request access to internal or beta APIs for quiz submission workflows?
Our use case involves securely automating quiz workflows for verified users in a controlled environment, and we are committed to following Brightspace’s best practices for API usage and security.
Thank you for your support. We look forward to your guidance.
Best regards,
Vamsi
Answers
-
Is there a way I can use this API to accomplish my requirement?
Waiting for your responses.
Thanks in advance! -
Hello @Vamsi.K.827,
Thank you for reaching out to the Brightspace Community!
The actions you have listed regarding quiz submission workflows are not currently supported via API and there are no current plans to extend the API's to support these actions.
The only way to “automate” taking a quiz on behalf of another user X is to have a real person impersonate that user X and do the actions manually themselves.
Please find below the link to our Valence documentation with the available Quizzes APIs:
https://docs.valence.desire2learn.com/res/quiz.htmlWhile this is not currently supported, we collect feedback and ideas in Product Idea Exchange (PIE), where you can submit new ideas and upvote existing ones you would like to see implemented.
For more information about PIE please refer to this KB article:
https://community.d2l.com/brightspace/kb/articles/1481-baking-a-better-pieThanks, Ana
-
Hi @Ana.A.776,
Thank you for your response and for confirming that quiz submission workflows are not currently supported via API.
As this functionality is critical for our integration roadmap, could you please advise:
- Is there a product roadmap or channel where we can track potential future support for quiz initiation and submission APIs?
- If this support request is better suited for a different team (e.g., Product Management or Developer Relations), could you kindly redirect us or provide contact details?
- We will submit this idea to the Product Idea Exchange (PIE) as suggested, but we’d also appreciate knowing if there are any internal discussions or pilot programs around expanding API capabilities for quizzes.
Thanks again for your guidance and support.
Best,
Vamsi