# Return domains that allow SSL certificate purchase This function lists every domain for which you may purchase an SSL certificate. The possible domains for the Secure Sockets Layer (SSL) certificate include applicable service subdomains. Endpoint: GET /WebVhosts/list_ssl_capable_domains Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `hide_temporary_domains` (integer) Whether to hide temporary domains from the returned values. * — Return an error if the requested domain is a temporary domain. * — Return all domains, including the temporary domains. If you set this parameter's value to and the requested domain is temporary, the function will return an error similar to the following example: hide_temporary_domains Enum: 1, 0 ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "list_ssl_capable_domains" - `module` (string) The name of the module called. Example: "WebVhosts" - `result` (object) - `result.data` (array) An array of objects containing data for a domain. - `result.data.domain` (string) A valid domain name on the virtual host. Example: "example.com" - `result.data.is_proxy` (integer) Whether the system automatically created the service subdomain or a user manually created the domain. * - The system automatically created the service subdomain. * - A user manually created the domain. If a user manually creates a subdomain that matches a preassigned subdomain (for example, cpanel or whm), then the function returns . Enum: 0, 1 - `result.data.vhost_name` (string) The name of the virtual host or website. Example: "hostname.example.com" - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.metadata.transformed` (integer) Post-processing may have transformed the data. Enum: 1 - `result.status` (integer) - 1 - Success - 0 - Failed: Check the errors field for more details. Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.