GET

Get Connection


Developer Preview

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

Retrieves the site's Google Search Console connection status.

One endpoint for both polling and steady-state reads: poll it after surfacing the URL from Get Connect URL until the status is VALID, or call it any time to learn whether the site is connected and as whom. When polling, every few seconds is enough. Stop after 2 hours, when the authorization attempt expires.

Returns PENDING while a connect started with Get Connect URL awaits the user's authorization on Google, and NOT_CONNECTED when the site has no Google account connected and no connect is in flight.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
View SEO Settings
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/gsc/connection/v1/connection

Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?