Start connecting Google Search Console
GET/ v1/ projects/ {project}/ search-console/ connect
A browser navigation with the session cookie, not a fetch: needs analytics.manage, then redirects to Google for the webmasters.readonly scope with offline access. Google sends the browser back to F122. When it can't start, it redirects to return_to with search_console_error=<code>: forbidden, search_console_not_configured.
Path parameters
project
The project's id (
prj_…).Query parameters
return_to
The dashboard path to come back to, starting with
/.Responses
A redirect for the browser (Location header).
No body.