Generating user registration and password reset URLs

Community Champion

Does anyone know of a way to generate a user registration URL or a password reset URL through the API? For the registration URLs, we are trying to find a way to create a user and allow them to set their password and accept the terms of service, we are trying to stay away from doing those for them.

For the password reset URL we found that we could first open a different browser and go to the login page, click forgot password, enter their email address and then use the Notifications tool in Admin Tools to get the URL and send it to them but this is pretty cumbersome.

The reason why we are doing this is we have a high number of registration and password reset email delivery failures when users register with Canvas Catalog and we want to be able to retrieve that URL and send it to them if the email delivery fails.