I m trying to perform user registrations through API but I always get 400 bad request. I send the mandatory requirements but it doesn't work, attached example
Hello @Furquin
Thank you for contacting the Instructure Community. We're sorry to hear you've been experiencing issues with adding users via API. It looks like your URL may have too many characters and is pretty long. The API call should be relatively short and end like "yourschool.instructure.com/api/v1/sections/:section_id/enrollments. Here is the Canvas guide with specific examples - try to make it match the way it looks here. Additionally, if you are still having issues try some basic troubleshooting steps. Which program are you using to run the API? Are the users already created and you're enrolling them to a course or they're not here yet? Hopefully this helps - let us know if you have any more questions.
https://canvas.instructure.com/doc/api/enrollments.html#method.enrollments_api.create
Thanks for the reply greydon, but the endpoint you gave me is to enroll users in some course, for that I need the user to be already registered in the canvas account because one of the mandatory parameters is precisely the user_id, I wanted to register users in the account of canvas, so you can register it in a course. the application I use to make these requests is insominia. Users would come via API to be registered on the canvas. which is exactly what I can't accomplish. I'm relying on this endpoint to try to regiter.
https://canvas.instructure.com/doc/api/users.html#method.users.create
Rendering bug here: Canvas - Instructure Community Seems to only appear in Edge; fine in Chrome and Firefox https://us.v-cdn.net/6038536/uploads/W3BKB9LY5FCV/recording-2026-04-08-144351.mp4
I have a developer key in our Test instance: How would I use this in a local program to make a REST API call? Looking at https://developerdocs.instructure.com/services/canvas/oauth2/file.developer_keys: Developer keys are OAuth2 client ID and secret pairs stored in Canvas that allow third-party applications to request…
I'm building a tool for my institution that imports grades from another LTI tool into Canvas so instructors can automate late assignment policies not otherwise supported by Canvas. I'm trying to use the LTIv1.3 ID which is readily available on the LTI-side as a link to the student record on Canvas, but I can't find the ID…
How can one track Canvas Media use without having the reports available from Canvas Studio? Checking API endpoints and the Data 2 schema, there do not seem to be dedicated Canvas Media endpoints. Am I missing some? A method I've considered is using the body field of the wiki_pages table, as this contains the html code of…
Hello, I'm trying to utilize an API call to pull completed certificates and was hoping to download and store the certs as a backup. I can successfully run the API call but it will not allow me to view the certificate unless I access the URL while signed into an account where it's "my" cert. Is there a permissions setting…