seo-connect
PUT /v1/seo-connection/bing
Connect the site's Bing Webmaster account with its own API key.
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
| Name | Type | Required | What it is |
|---|---|---|---|
api_key | string | Yes | The site owner's own Bing Webmaster API key (Settings → API access). Write-only. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
connected | boolean | Yes | — |
status | object | Yes | — |
site_url | object | Yes | The verified Bing site this site reads. |
connected_at | object | Yes | — |
Errors this endpoint can return
401 · 403 · 422 · 429 · 503