seo-connect

POST /v1/seo-connection/google/sitemaps

Submit one of this site's sitemaps to Search Console.

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 POST https://api.zinndigital.com/v1/seo-connection/google/sitemaps \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "sitemap_url": <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

The plugin calls it on connect and whenever the sitemap's address changes (no-trace on or off). The address must be on the connected site. Audited (seo_google.sitemap_submitted). Needs seo.run.

Request body

NameTypeRequiredWhat it is
sitemap_urlstringYes—

Response

NameTypeRequiredWhat it is
submittedstringYes—

Errors this endpoint can return

401 · 403 · 409 · 422 · 429 · 503