-
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…
-
Retrieve Rubric associated with Quiz Question
Hello Community, In custom applications I make use of this public API: GET /d2l/api/le/(version)/(orgUnitId)/rubrics Retrieve rubrics for an object in an org unit. Parameters: version (D2LVERSION) – API version. orgUnitId (D2LID) – Org unit ID. Query Parameters: objectType (EVAL_T) – Type name for object associated with…
-
Valence API returns 403 when accessing user data with valid token
Hi everyone, I'm running into an issue with the Valence API when trying to fetch user data. I’ve authenticated successfully and received a valid token, but when I call the /users/ endpoint, I get a 403 Forbidden response. The app is registered, and the user account I’m testing with has the necessary permissions in…
-
Receiving a 403 Forbidden API Error Message
We are running performance testing in our Brightspace test server with 7% failures related to "403 Forbidden" error messages. Perf Testing: We are automating 18 users to load the widget every second for 1 minute—equaling to about 1,080 users in a minute. Background: We have 4 back-end servers with round-robin traffic…
-
API to Retrieve and Update User's AOU/Department Level Role in Brightspace?
Is there an API in Brightspace that allows me to retrieve a user's role at the AOU (Authorised Operating Unit) or department level? Additionally, is there an API that allows updating a user's role at the AOU/department level? If so, could you please provide the endpoint details and any relevant documentation? Best regards,…
-
oAuth get access token using python
Hi, Does anyone have an Python example of how to get an access token using the oAuth2 workflow without using an refresh token? I can get an access token based on a valid refresh-token but I'm trying to build a solution which does not rely on a refesh-token to be available. I get stuck in the login step because I can't find…
-
Bulk Deletion of Sections from Courses in Brightspace (via API or Other Method)
What is the recommended and secure way to bulk delete sections from both current and historical courses in Brightspace? Is there a supported method using the Brightspace API or another automated approach for managing this at scale? Any guidance, best practices, or documentation would be greatly appreciated.
-
API reports "Resource not found" when trying to a create course section in a course offering
We have a course offering created by the API but Brightspace reports its endpoint does not exist. When POSTing to its endpoint to create the section the API reports "Resource not found". The course offering exists and the API can find it.
-
Testing Brightspace API - Create Folder in Manage Files
Hello So I've been trying to test APIs to create folders in manage files of a course, and then try to upload a file into the,m and I can't seem to get the api to work on Postman. This is my Create folder api, which I created using the Valence documentation. Is there something I've done wrong here? I keep getting the 404…
-
How to access value of grading item computed by formula from API?
Using , specifically GET /d2l/api/le/(version)/(orgUnitId)/grades/(gradeObjectId)/values/ I am able to access the score each student sees in their own grading system from the API (so I can ensure that I give them the according grades). However, I have a final formula that computes how many bonus points they are entitled…
-
How to download issued certificates via API using Bearer token?
Hello D2L team, I’m currently using the Brightspace API to retrieve issued certificates for students in our institution via the endpoint: bashCopiarEditarGET /d2l/api/bas/1.4/issued/users/{userId} From the response, I obtain both the OrgUnitId and IssuedId, and construct the download URL as documented:…
-
Service-to-service authentication?
We want to automate some processes using the Brightspace API, without the need for a human to log in (because the automation process will be running on a server). Does Brightspace have a process for service-to-service (S2S) authentication? To reiterate, we need to integrate with Brightspace's API without user interaction,…
-
Which scope is required to download a feedback document from an assignment?
I am trying to download feedback documents from assignments (dropbox) using this API call: GET /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/feedback/(entityType)/(entityId)/attachments/(fileId) It gives met a 403 (Not Authorized) error. The user running the API call is a Super Admin and in Brightspace it is…
-
Retrieve the submission for a selected student
The API provides an end point to retrieve information about all submissions to a selected assignment folder (dropbox) GET /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/submissions/ It does not include a parameter to provide a userId to only retrieve the information for a specific student and so you have to…
-
Help with OAuth 2.0 Client Credentials Implementation
We are working on integrating Brightspace with a third-party solution and would like to confirm whether the OAuth 2.0 Client Credentials Flow is supported for authentication. If not, what alternative approach would allow us to implement OAuth 2.0 without requiring user intervention? Thank you for your guidance!
-
Unauthorized Error When Generating Access Token via Postman
Input Request: curl --location 'https://auth.brightspace.com/core/connect/token' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'grant_type=client_credentials' --data-urlencode 'client_id=72f31814---**-1c168ffe32d3' --data-urlencode 'client_secret=WExEwa********************ZJIeppks'…
-
API integration and section associations
We have switched to an API integration because we have implemented a new SIS. The new integration with Brightspace does not create SIS section associations, which has created a big challenge for us because we are unable to merge courses directly in Brightspace. Has anyone using an API integration been able to configure the…