Search Console

Connect Search Console

Exchange an OAuth authorization code for tokens to complete the Search Console connection.

post/blogs/search-console/connect

Request body

codestring required

OAuth authorization code returned by Google

redirect_uristring uri

Redirect URI used in the OAuth flow. Omit it to use the default dashboard callback.

Example request

{
  "code": "4/0AX4XfWg...",
  "redirect_uri": "http://localhost:9876/callback"
}

Response

Search Console connected successfully

successboolean required

Whether the token exchange and save operation succeeded

connectedboolean required

Whether Search Console is now connected

Example response

{
  "success": true,
  "connected": true
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.