The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Dear all,
RE: POST /api/v1/courses/:course_id/assignments
I am just starting to look at the possibility of using the Canvas API to create many (Turnitin LTI) assignments for many courses. I can see there are parameters to create assignments using (what I assume is for) the old Turnitin API and set options for external tools. However I want to know if anyone has successfully created and set Turnitin options for an (external_tool) Turnitin LTI assignment?
I have only got as far as this which works, but I haven't set Turnitin as the external tool or any Turnitin options yet:
/api/v1/courses/61/assignments?assignment[name]=APIcreateAssignment1&assignment[integration_id]=APIcreateAssignment1&assignment[submission_types]=external_tool&assignment[points_possible=100&assignment[grading_type]=letter_grade&assignment[grading_standard_id]=5
Kind regards
Jago
I haven't done it but you might have luck figuring out what you need to send if you create one via the user interface like normal and do a GET on that assignment to see which things are filled out. I think you probably have to send the assignment[external_tool_tag_attributes] to set the LTI URL. You'll probably have to setup your default TurnItIn assignment settings through the TurnItIn interface so those settings are cached to your profile.
Thanks Matt, a good suggested line of action. You have helped me confirm what I suspected. We can create an an [external_tool] assignment, but realistically we would then have to manually select and save the specific Turnitin LTI tool configuration we want to use for the assignment (we have more than one). This isn't so bad because as you have pointed out Turnitin's long list of 'optional settings' can be saved as the default in your Turnitin profile.
These are the results from an existing LTI assignment - the 'external_tool_tag_attributes' are evident, but only the 'new_tab' might be changed generally:
And these are the current settings that Turnitin will pull in from Canvas:
custom_duedate=$Canvas.assignment.dueAt.iso8601
custom_startdate=$Canvas.assignment.unlockAt.iso8601
assignmentid=$Canvas.assignment.id
custom_submission_title=$Canvas.assignment.title
custom_maxpoints=$Canvas.assignment.pointsPossible
are synced with Canvas equivalents initially we will have
Kind regards
Jago
Hi Jago
You asked this last year, so I'm guessing you have your answer now, but I'm posting here in case other Admins have the same question and find this discussion topic via a search.
It is possible to set all of the Turnitin custom settings via the external tools API call (or via the XML configuration route too).
Please see this post for further details:
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in