AnsweredAssumed Answered

Create Multiple Assignments via API

Question asked by Huw Jones on Dec 6, 2016
Latest reply on Dec 7, 2016 by Garth Egbert


I am setting up many assignments across many different courses.


So I have downloaded the 'Postman' API tool to help with this process.


I have set up my authorisation token and used a GET to display basic course data from our Canvas build to test the connection - which was a success.


I then used POST and created a test assignment in one of our courses using the following JSON code:



  "assignment": {

    "name": "Test assessment 1",

    "submission_types": [



    "points_possible": 1,

    "grading_type": "points",

    "due_at": "2015-10-18T00:00:00+01:00",

    "muted": "true",

    "published": "false"




Which was also a success - so far all good.


As we have quite a few courses each with many different assignments each with different settings such as the 'points_possible', 'due_at' etc.. so I started a spreadsheet and populated it with the headings of 'name','points_possible','due_at','published','submission_type','description' I then set this up in JSON format using CSV To JSON Converter but there are a few different variations of JSON formatting and none have worked. e.g JSON column array or keyed JSON...


Does anyone have any suggestions on how I can transfer this spreadsheet across to postman and through using the canvas API start adding assignments to our multiple online courses?