Connect
Connect the chosen Search Console site
Changed onFor headless flows. Connects the site the user picked as a googlesearchconsole account and returns where to send the user next.
- On success: your redirect_url with connected=googlesearchconsole, profileId, accountId and username.
- When the connect was refused (for example a billing block): an error.
Consumes the pendingDataToken; a refused or failed attempt leaves it usable for a retry.
Send your API key (or connect token) for the same profile with a headless token.
post/v1/connect/googlesearchconsole/select-site
Request
- Base URLhttps://zernio.com/api
- Auth
- HTTP bearer
- or API key in header X-Connect-Token
Request body
Example request
{
"siteUrl": "sc-domain:acme.com"
}Response
The site is connected, or the connect was refused with a reason in redirect_url
Example response
{
"account": {
"platform": "googlesearchconsole"
}
}Changes
- info
endpoint added
- info