Get an Access Code
Call this API to have the Platform receive an Authentication Token to access the Analytics data via Google Search Console.
application/json
Request Body required
code string required
The Authorization Code. The API will use the Authorization Code to exchange it with an Access Token.
google_search_console_resource_id string required
The Google Search Console Resource Id as it shows in the Google Search Console, e.g. sc-domain:example.org.
Responses
- 200
- 401
- 404
Found
application/json
Schema
Example (from schema)
Schema
access_token string
The access token
expires_in int32
The number of seconds for the access token to expire
refresh_token string
The refresh token
scope string
The scope
token_type string
The token type, usually Bearer
{
"access_token": "string",
"expires_in": 0,
"refresh_token": "string",
"scope": "string",
"token_type": "string"
}
Authentication Failure
Not Found
Loading...