Finish verifying a site with Google
POST
The code is live: verifies the site as the workspace identity, adds the property, makes owner_email (default: the signed-in member's email) an owner and reads access. Refusals: not_verified_yet (409: Google can't see the code yet), not_a_google_account (422), invalid_email (422), forbidden (403: an API key rather than a signed-in person). Needs coding:apps:publish.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidsite_id*stringFormat
uuidapplication/json- body
owner_email?|nullRequest 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/confirm' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "permission": "string", "property": "string", "state": "none", "verification": { "meta_tag": "string", "method": "github_pr", "token": "string" }, "workspace_email": "string"}