Post

Create Connected Domain


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a connectedDomain object and starts the domain connection process. It may take up to 48 hours for the DNS changes to take effect.

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.

You can only connect external domains using this endpoint. Domains purchased and billed through Wix can't be connected via this endpoint to a Wix site. For those domains use the Registered Domains API instead.

You can connect both root domains and subdomains to Wix sites.

The domain can be assigned as a primary domain or a redirect. You can read more about primary and redirected domains. If you connect a domain as "PRIMARY" to a Wix site, the existing primary domain automatically becomes unassigned.

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

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Domains
Learn more about permission scopes.
Endpoint
POST
https://www.wixapis.com/domains/v1/connected-domains

Was this helpful?
Yes
No