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.

Wix places the verification token for the requested method and asks Google to confirm it. For Wix sites the META method is the common choice: Wix adds the google-site-verification meta tag to every page automatically.

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

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.

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

Errors
428Failed Precondition

There are 4 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?