Authenticate with OAuth 2.0 using credentials that have full access (not readonly) to the Search Console property
Send a PUT request to the sitemaps.submit endpoint, providing the siteUrl path parameter (the verified property) and the feedpath parameter (the full URL of the sitemap)
Confirm a 204 No Content response indicating successful submission
Follow up with a GET request to the sitemaps.get endpoint to verify the sitemap is listed and check its status fields including isPending, isSitemapsIndex, lastSubmitted, and errors
Known gotchas
The sitemap URL must be within the scope of the verified property; submitting a sitemap on a subdomain to a domain property can fail or be silently ignored
Submitting via API does not force an immediate crawl; Google will fetch and process the sitemap on its own schedule, which can take hours to days
Deleting and re-submitting a sitemap does not reset crawl priority; frequent resubmissions are not beneficial and can clutter the submitted sitemaps list
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp