The GSC Connection API connects a Wix site to Google Search Console by linking a Google account to the site. Once a site is connected, the GSC Site Readiness API can verify the site with Google, submit sitemaps, request indexing, and read search performance data.
A site has at most one Google Search Console connection, so no method takes a connection ID.
With the GSC Connection API, you can:
Connecting is a browser flow that Wix completes for you:
status is VALID.Each connect URL is single-use and expires after 2 hours, so request a fresh one for every attempt.
The connection belongs to the site, but it's owned by the Wix user who authorized it. Get Connection reports whether the current caller is that owner in ownedByCaller, and identifies the connected Google account by a masked email address only.
ownedByCaller is returned only when status is VALID or INVALID. It's false for any caller without a Wix user identity, so a false value means the caller isn't the owner, not that a particular other Wix user is.
Re-authorizing with the same Google account refreshes the stored credentials. Authorizing with a different Google account, or as a different Wix user, replaces the connection.
It's important to note the following points before starting to code:
FAILED_PRECONDITION.PERMISSION_DENIED.status becomes INVALID only after Wix makes a Google Search Console call that's rejected, so a broken connection can still report VALID.Last updated: 7 September 2026