get_verification_token
Generate a verification token proving ownership of a Search Console site or domain, enabling property verification without the UI. Publish it via DNS, META, or FILE, then call verify_site.
Instructions
Mint the token that proves ownership of a site or domain, so a new property can be verified without opening the Search Console UI. A domain property must use DNS: publish the returned token as a TXT record on the apex. A URL-prefix property can instead use META, a tag in the homepage head, or FILE, a file served at the site root. Publish the token first, then call verify_site. Minting a token changes nothing on its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | INET_DOMAIN for a domain property (sc-domain:), SITE for a URL-prefix property. | |
| method | Yes | DNS_TXT is the only method a domain property accepts. A URL-prefix property can also use META or FILE. | |
| account | No | Which signed-in Google account to act as, by email. Omit to use the default. Call list_accounts to see what is signed in. | |
| identifier | Yes | The site URL for SITE ("https://navid.me/"), or the bare domain for INET_DOMAIN ("navid.me"). |