Post

Connect Domain


Deprecated

This method has been replaced with CreateConnectedDomain, and will be removed on December 31, 2023.

Connects a root domain or subdomain to a Wix site.

You must pass the relevant Wix account ID in the header of the call. You may also pass a Wix site ID in the header. If you omit the site ID, you have to call Connect Domain again before the site owners can use the domain.

You can't pass the default nameserver record in the dnsRecords array of the call's body. This results in an error.

You can only connect external domains using this endpoint. Domains purchased and billed through Wix can't be connected in this way to a Wix site.

The domain can be assigned as a primary domain or a redirect. You can read more about primary and redirected domains.

Important: This call requires an account level API key and cannot be authenticated with the standard authorization header.

Was this helpful?
Yes
No