I would like to programmatically submit new sitemaps to Google Search Console. I found that it can be done with Google Search Console API.
However, in this docs they say that request require authorization with the scope https://www.googleapis.com/auth/webmasters
. I can not find anywhere how can I create an API key with this permission, that I can use to authenticate my server with Google Search API.
Should I create this from Google Admin Console or somewhere inside Google Search Console?