Google Search Console API
  1. sitemaps
Google Search Console API
  • urlInspection
    • /v1/urlInspection/index:inspect
      POST
  • urlTestingTools
    • /v1/urlTestingTools/mobileFriendlyTest:run
      POST
  • sites
    • /webmasters/v3/sites
      GET
    • /sites
      GET
    • /webmasters/v3/sites/{siteUrl}
      DELETE
    • /sites/{siteUrl}
      DELETE
    • /webmasters/v3/sites/{siteUrl}
      GET
    • /sites/{siteUrl}
      GET
    • /webmasters/v3/sites/{siteUrl}
      PUT
    • /sites/{siteUrl}
      PUT
  • searchanalytics
    • /webmasters/v3/sites/{siteUrl}/searchAnalytics/query
      POST
    • /sites/{siteUrl}/searchAnalytics/query
      POST
  • sitemaps
    • /webmasters/v3/sites/{siteUrl}/sitemaps
      GET
    • /sites/{siteUrl}/sitemaps
      GET
    • /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
      DELETE
    • /sites/{siteUrl}/sitemaps/{feedpath}
      DELETE
    • /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
      GET
    • /sites/{siteUrl}/sitemaps/{feedpath}
      GET
    • /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
      PUT
    • /sites/{siteUrl}/sitemaps/{feedpath}
      PUT
  1. sitemaps

/sites/{siteUrl}/sitemaps/{feedpath}

PUT
/sites/{siteUrl}/sitemaps/{feedpath}
sitemaps
Submits a sitemap for a site.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://searchconsole.googleapis.com//sites//sitemaps/'
Response Response Example
{}

Request

Path Params
siteUrl
string 
required
The site's URL, including protocol. For example: http://www.example.com/
feedpath
string 
required
The URL of the sitemap to add. For example: http://www.example.com/sitemap.xml

Responses

🟢200Successful response
application/json
Body
object {0}
Modified at 2022-09-12 11:46:11
Previous
/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
Built with