Also, in the API documentation for Creating a course. It states that the account_id is the root account associated with the course. Again, how do I get this value?
The ID that you're looking for depends on how you have your Canvas instance setup. Your top level account is ID 1... If your institution uses sub-accounts like mine does you would need to go to that sub-account and up in the address bar you can see what ID is associated with that sub-account. What I did was create a table on the back end that I then use to pull which sub-account to associate said course with.
For what you're looking for you might just provide the instructor a list of sub-accounts available and then on the back end of the google form have that associated with the ID of the account that you can put in when making the call.
Hope this helps.
That helps. Are you familiar with using Google Forms, and onFormSubmit? We are using this to call the API and create the course. Is there a way, during the onFormSubmit() to get the current user's info from Canvas? In other words, how can I get the user's "id" from Canvas during the onFormSubmit function?