Is there an API for changing a password?

Not sure if that will work. I’ve made an Android app for a Discourse forum, but one thing it lacks is support for forgotten passwords. There is no mechanism for it that I have seen. The forum only exists in the app. There is no webpage for it.

With the email, how do you initiate the sending of it?