Read a site's Google connection
GET
The workspace's own Google identity (workspace_email, null until Google can see it, about a minute after Syndai makes it) and its access to the site's Search Console property. state: none, pending (Syndai is verifying the site), restricted or full (Ready; index checks need Full), lost. GitHub projects only. opened=true marks the card's first read when it opens (product analytics); its polls omit it.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidsite_id*stringFormat
uuidopened?booleanDefault
falseRequest fulfilled, document follows
application/json- response
permission?string|nullproperty?string|nullstate*stringValue in
"none""pending""restricted""full""lost"verification?|nullworkspace_email?string|nullcurl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/google'Example Response
{ "permission": "string", "property": "string", "state": "none", "verification": { "meta_tag": "string", "method": "github_pr", "token": "string" }, "workspace_email": "string"}