seo-connect

GET /v1/seo-connection/google

Whether the site's own Google account is connected, and what it reads. Free.

All seo-connect endpoints

All developer docs →

Authentication

This endpoint does not take an API key. It takes its own credential, issued to the plugin or service that calls it, as a bearer token; see the description above.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/seo-connection/google \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

The connected site's link to its owner's own Google account (Zinn® SEO stage P11): which account, which features Google granted (search_console, analytics, business, indexing) and which Search Console property, GA4 property and Business Profile location the site reads. With choices=1 it also lists the Search Console properties that cover this site's address and the GA4 properties whose web streams measure it (a few Google calls — for the settings screen); when exactly one of each covers the site it is chosen. Needs seo.read.

Parameters

NameTypeRequiredWhat it is
choices (query)string<0, 1, true, false>No—

Response

NameTypeRequiredWhat it is
connectedbooleanYes—
statusstring<none, pending, active, needs_reconnect>Yes—
account_emailstringYes—
featuresstring<search_console, analytics, business, indexing>[]Yes—
search_console_propertystringYes—
analytics_propertystringYes—
business_locationstringYes—
redirect_uristringYesWhere Google returns the browser (shown for support).
choicesobjectNoOnly with choices=1.

Errors this endpoint can return

401 · 403 · 409 · 429 · 503