Syndai Docs

Ask Google again whether the site is connected

POST
/api/v1/external/coding/customers/{customer_id}/sites/{site_id}/google/check

Lists the properties the workspace's Google identity can read and matches only this site's own address. A match makes the site Ready and queues its first sync, which then reads that site's sitemap, index status and moves within minutes.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid
site_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
permission?string|null
property?string|null
state*string
Value in"none""pending""restricted""full""lost"
verification?|null
workspace_email?string|null
Example Request
curl -X POST 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/google/check'
Example Response
{  "permission": "string",  "property": "string",  "state": "none",  "verification": {    "meta_tag": "string",    "method": "github_pr",    "token": "string"  },  "workspace_email": "string"}