POST

Add 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.

Adds the site to the connected Google Search Console account.

The site is resolved from the request context, so the request is empty. Add Site requires the site to be verified first, so call Verify Site before this method.

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/add-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?