Skip to main content
POST
https://searchcompany-main.up.railway.app
/
api
/
domain
/
start-google-verification
/
{org_id}
Start Google Verification
curl --request POST \
  --url https://searchcompany-main.up.railway.app/api/domain/start-google-verification/{org_id}
{
  "status": "<string>",
  "txt_record": {
    "name": "<string>",
    "value": "<string>"
  },
  "message": "<string>"
}
Account Limit: Each Google account can only manage up to 1,000 websites in Search Console at any given time. This is a hard limit enforced by Google.

Overview

This endpoint initiates Google Search Console verification by requesting a TXT verification token from Google’s Site Verification API. Call this endpoint in parallel with /start-certificate to get both TXT records for the user to add via Entri.

Path Parameters

org_id
string
required
The Clerk organization ID (e.g., org_xxx)

Response

status
string
success or error
txt_record
object
The TXT record to add for Google verification
message
string
Error message if status is error

Example Response

{
  "status": "success",
  "txt_record": {
    "name": "@",
    "value": "google-site-verification=abc123xyz789"
  }
}

Database Updates

On success, the following columns are updated in ai_sites:
  • google_verification_token: The verification token
  • google_verification_status: Set to PENDING