Start Syndai verifying a site with Google
POST
For an owner with no Search Console (or who isn't its owner). Returns the meta tag a one-file PR adds to the site in verification (method: github_pr); Google accepts several verification tags, so it never replaces another owner's. owner_email (the requesting member's own Google account) becomes an owner when the verification is confirmed. Needs coding:apps:publish and a signed-in person (an API key is 403 forbidden); 503 identity_not_ready when Google isn't set up.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidsite_id*stringFormat
uuidapplication/json- body
owner_email*stringLength
3 <= length <= 254Request fulfilled, document follows
application/json- response
permission?string|nullproperty?string|nullstate*stringValue in
"none""pending""restricted""full""lost"verification?|nullworkspace_email?string|nullcurl -X POST 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/google/verify' \ -H 'Content-Type: application/json' \ -d '{ "owner_email": "string"}'Example Response
{ "permission": "string", "property": "string", "state": "none", "verification": { "meta_tag": "string", "method": "github_pr", "token": "string" }, "workspace_email": "string"}