Request a Cloud Email programmatically Ultra Only

Cloud Emails are a feature of Ultra subscription that allows you to generate real private disposable email addresses. You can read more about them here.

If you want to programmatically request a new email address with a custom prefix from your generators, you can use the following code:

Note: In the above example, variables prefix and domain are optional. If ignored, they will default to that you have set in the Cloud Settings page.

The domain name must be one of your available domains as listed in the Cloud Settings page. If an invalid domain is used, it will fallback to