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.
Path parameters
project
The project's id (
prj_…).Responses
The properties.
data
Show 3 fieldsHide fields
site_url
permission_level
Google's: siteOwner, siteFullUser, siteRestrictedUser or siteUnverifiedUser.
matches
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": true7}8]9}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
not_found | |
reconnect_required | |
google_rate_limited | |
google_failed | |
search_console_not_configured |