POST

Submit Sitemap


Developer Preview

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

Submits the site's sitemap to Google Search Console.

Wix generates and hosts the sitemap; this method submits its URL to the connected Google Search Console property. Google processes sitemaps asynchronously. Check processing state with List Sitemaps.

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/submit-sitemap

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?