viakite
Dashboard

API/Goals and settings/Pick the property to import

Pick the property to import

PUT/v1/projects/{project}/search-console/site

The property must be one of F123's. The import starts over: the next run of the hourly import job takes the last 5 days, then goes back 16 months, 30 days a run.

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

Path parameters

projectstringrequired
The project's id (prj_…).

Body

site_urlstringrequiredup to 2048 chars

Responses

The connection, importing.

project_idstringrequired
configuredbooleanrequired
False when the server has no Google client or ENCRYPTION_KEY.
connectedbooleanrequired
statestringrequired
not_connectedpick_siteimportingreadyreconnect
site_urlstringrequired
Https://example.com/ or sc-domain:example.com; empty until picked.
imported_throughstring | nullrequired
The newest day imported.
backfilled_fromstring | nullrequired
The oldest day imported.
backfill_untilstring | nullrequired
How far back the backfill goes.
last_import_atstring · date-time | nullrequired
next_import_atstring · date-time | nullrequired
last_errorstringrequired
Why the last import failed; empty when it worked.
connected_atstring · date-time | nullrequired
Example response
1{
2 "project_id": "prj_01JD8Q2M4W9XK3T7B5",
3 "configured": true,
4 "connected": true,
5 "state": "not_connected",
6 "site_url": "string",
7 "imported_through": "2026-11-21",
8 "backfilled_from": "2026-11-21",
9 "backfill_until": "2026-11-21",
10 "last_import_at": "2026-11-21T09:30:00Z",
11 "next_import_at": "2026-11-21T09:30:00Z",
12 "last_error": "string",
13 "connected_at": "2026-11-21T09:30:00Z"
14}

Errors

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

StatusCode
422validation_error
422site_not_found
404not_found
409reconnect_required