[ARCHIVED] What strategies do you use to test processes that send notifications?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What strategies do you use to test processes that send notifications, given that notifications do not send from Test or Beta instances?
Our Use Case:
We are developing a process to provision a certain set of Canvas user accounts through API calls with the "force self-registration" flag set to "True", so that the user will receive an invite email to prompt them to complete their user account registration (set a password). We would like to test this before rolling it out into the Production instance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, they shared a theory that someone on the IC team threw out there, but nothing definitive or tested.
- In theory this should show up in the communication messages, so use this endpoint to look them up: https://canvas.instructure.com/doc/api/all_resources.html#method.comm_messages_api.index
- here’s an example of how to use it:
- ```GET https://school.test.instructure.com/api/v1/comm_messages/?perPage=10&user_id=123&start_time=&end_ti...
- (That looks like a Beta endpoint to me- so I can’t promise that will work but an IC threw it out there)
Still would love to hear from others in the community on their strategies that they might have come up with, since this isn't a tested approach. If we are able to test this successfully, I'll reply here to let folks know.
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.