Skip to main content
POST
Resubmit Sitemap

Overview

This endpoint resubmits the sitemap to Google Search Console to notify Google that new pages have been added. Called by the cron service after deploying new boosted pages.

Path Parameters

string
required
The organization identifier. Can be either:
  • Clerk organization ID (e.g., org_xxx)
  • Organization slug / business_id (e.g., acme-corp)
The cron service uses the org_slug (business_id).

Response

string
success, skipped, or error
boolean
Whether the sitemap was successfully submitted
string
Success, skip reason, or error message

Example Responses

Success

Skipped (Not Verified)

Prerequisites

The domain must already be verified with Google Search Console (google_verification_status = 'VERIFIED'). If the domain is not verified, the endpoint returns status: "skipped" (non-blocking for cron).

Database Updates

On success:
  • google_sitemap_submitted_at: Updated to current timestamp

Usage in Cron