Skip to content
Start in Cloud

Request Search Console sync

POST
/api/sites/{id}/integrations/google-search-console/sync
curl --request POST \
--url https://hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/integrations/google-search-console/sync \
--cookie hk_token=<hk_token>

Queues a manual Search Console import for the mapped site and returns the current mapping sync status.

id
required
string format: uuid

Google Search Console site mapping

Media type application/json
object
can_manage
required
boolean
mapped
required
boolean
mapped_at
string format: date-time
property_permission_level
string
property_uri
string
site_id
required
string format: uuid
sync_status
object
imported_end_date
string format: date
imported_start_date
string format: date
last_attempt_at
string format: date-time
last_error_category
string
last_success_at
string format: date-time
manual
required
boolean
next_retry_at
string format: date-time
state
required
string
Allowed values: pending running succeeded failed needs_attention
team_id
required
string format: uuid
Example
{
"sync_status": {
"state": "pending"
}
}

Access denied

Media type application/json
object
message
string
Example generated
{
"message": "example"
}

Google Search Console is not connected or the site is not mapped

Media type application/json
object
message
string
Example generated
{
"message": "example"
}