POST

Verify Site


Developer Preview

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

Verifies ownership of the site with Google.

For a Wix site, no parameter is needed: Wix adds the google-site-verification meta tag to every page automatically and asks Google to confirm it. To verify a site that isn't hosted on Wix, place the tag from Get Verification Token in the <head> of its home page, then set siteUrl to its URL-prefix Search Console property; Wix places nothing on an external site.

Verification requires a connected Google account and runs synchronously against Google, so allow up to a minute for the call to return.

For a Wix site, requires the site to be published, have a connected domain, and allow search-engine indexing; otherwise fails with FAILED_PRECONDITION.

Authentication

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

Permission Scopes
Manage SEO Settings
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/gsc/connection/v1/verify-site

Errors
428Failed Precondition

There are 5 errors with this status code.

429Resource Exhausted

There is 1 error with this status code.

503Unavailable

There is 1 error with this status code.

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

Did this help?