The SSL Certificate API lets you install your own SSL certificate on the domains connected to a site in your Wix Enterprise account, instead of the certificate Wix issues automatically. Use it when your organization requires certificates from a specific certificate authority, or manages certificates centrally for all of its domains.
With the SSL Certificate API, you can:
A domain must be connected to the site before you install a certificate for it. To connect a domain, use the Connected Domains API. To find the ID of a site in the account, call Query Sites in the Sites API.
It's important to note the following points before starting to code:
Authorization header and the ID of the account that owns the key in the wix-account-id header. The key needs the Manage Site SSL & Publish State permission scope.metaSiteId. Every domain you pass must be connected to that site.domainNames must list exactly the domains in the certificate's subject alternative names. Issue the certificate for both the apex domain and its www name, and pass both.domainNames must match this list exactly.example.com. Its www name is www.example.com.Last updated: 23 September 2026