viakite
Dashboard

API/Goals and settings/The connected account's Search Console properties

The connected account's Search Console properties

GET/v1/projects/{project}/search-console/sites

Read from Google; those covering a hostname the project's page views came from in the last 30 days come first, with matches.

Secret keyNeeds analytics.manageus.api.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).

Responses

The properties.

dataSearchConsoleSite[]required
Show 3 fields
site_urlstringrequired
permission_levelstringrequired
Google's: siteOwner, siteFullUser, siteRestrictedUser or siteUnverifiedUser.
matchesbooleanrequired
Covers a hostname of the project's page views.
Example response
1{
2 "data": [
3 {
4 "site_url": "string",
5 "permission_level": "string",
6 "matches": true
7 }
8 ]
9}

Errors

Every error has the same shape: error.code, a message for people and details.

StatusCode
404not_found
409reconnect_required
429google_rate_limited
502google_failed
503search_console_not_configured