Found this content helpful? Log in or sign up to leave a like!
Canvas Credentials API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does Canvas Credentials have an API that can be used to issue badges?
We need to issue a badge based on outcomes from multiple courses, thus a script must be written to extract the outcome and determine if the badge should be awarded. I'm looking for a way to issue the badge through this automated process.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @mcarruth
Thanks for posting in the Community!
To add to Ryan's answer, this is what the Pathways solution in Canvas Credentials is best suited for. That is to track learner progress from multiple Canvas courses, and to award badges based on stacked prerequisite badges. I do believe this would suit your needs if you were to setup a Pathway to award badges based on those prerequisite Course Outcomes.
Does Canvas Credentials have an API that can be used to issue badges?
To answer your question regarding the API- Canvas Credentials does have an API to interact with to award badges.
Here is a link to our API documentation: https://api.badgr.io/swagger-ui/index.html
You would need to create a token with a username/ password to interact with the API however.
Here is a guide for getting started interacting with the Canvas Credentials API:
https://community.canvaslms.com/t5/Canvas-Badges-Credentials/Canvas-Badges-App-Developers-API-Guide-...
To issue a new assertion to a badge (awards are called assertions in the API) this would be the "Issue a new Assertion to Recipient" API call. That API call is here: https://api.badgr.io/swagger-ui/index.html#/Assertions/handleAssertionCreation
Hope this helps! Please reach back with any questions and we would be happy to assist further.