seo-connect

PUT /v1/seo-connection/bing

Connect the site's Bing Webmaster account with its own API key.

All seo-connect endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The endpoint checks sites.create; a key without it is refused with 403, not 404.

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 PUT https://api.zinndigital.com/v1/seo-connection/bing \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "api_key": <string> }'

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

Proves the key against Bing (GetUserSites) and links the verified Bing site that is this site's address. The key is kept in Vault only (secret/orgs/<org>/seo-connections/<id>), never in a column, a log or a response. Refusals: refusal.seoBing.badKey, keyRejected, siteNotInAccount, siteNotVerified (422), vendorBusy, vendorUnavailable, vaultUnavailable (503). Audited (seo_bing.connected). Needs seo.run.

Request body

NameTypeRequiredWhat it is
api_keystringYesThe site owner's own Bing Webmaster API key (Settings → API access). Write-only.

Response

NameTypeRequiredWhat it is
connectedbooleanYes—
statusobjectYes—
site_urlobjectYesThe verified Bing site this site reads.
connected_atobjectYes—

Errors this endpoint can return

401 · 403 · 422 · 429 · 503