We are trying to push global announcements into Canvas via API and we are running into a couple of blockers I was hoping someone could help with.
We want to be able to send announcements outside the course context to targeted users for things like safety messaging.
We have roles in our back end system, that don't align with the roles in canvas, so we have a list of users that we want to target who are not in a role in the canvas system.
Initially, I was looking at sending to individual users and just rolling through the users in our back end role and sending one at a time, but it looks like I can only send to canvas roles and not individual users.
Then I started looking at creating a canvas role on the fly and sending to that role. Hopefully, I could then delete the role in canvas so that its not cluttering the roles in canvas with these additional roles. I found APIs to create a role, but not to manage membership in that role, so I didn't see a way to add my target users into that role.
Has anyone been able to do something similar via api, or am I missing something in the api documentation that would allow me to do one of the above?
Thanks,
brian
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.