We have released a second API in addition to the Widget API: Web API. Via API Console :: My Domains, you can obtain the domain-specific endpoint URL for use in your app to generate a random password for use in your app. Your domain-specific API Settings are used as the rules to construct the password: the same rules used when generating passwords via the Widget API. The password is returned in JSON format. For example:
E: Error State. If E set as 1, error detected. M returns Error Message.
M: Message. M returns password if E set as 0.