Skip to main content

POST /api/domain/start-google-verification/

Gets a TXT verification token from Google Site Verification API. This runs in parallel with the SSL certificate flow during Step 1.

Purpose

This endpoint:
  1. Requests a verification token from Google
  2. Returns the TXT record for the user to add via Entri
  3. Stores the token for later verification (in Step 2)

When It’s Called

Step 1 (Frontend):
  • Called in parallel with /start-certificate
  • Both TXT records (SSL + Google) are shown to user via Entri
  • User adds both records at once
Step 2 (Backend):
  • mark-step-complete polls Google verification using the stored token
  • This gives DNS time to propagate (up to 2 minutes of polling)

Architecture

src/app/apis/domain/google_verification/routes.py