Google Site Verification API

WebResource: insert

Requires authorization

Verifies ownership of a website or domain. Try it now.

Before calling insert, place the authenticated user's verification token on their website or domain. When you call insert, Google's Site Verification service queries the website or domain and looks for the token.

If Google finds the user's token on the website or domain, it records the site as verified. The authenticated user can also delegate ownership; any email addresses you specify in the owners field in the request body are also recorded as verified site owners.

The verificationMethod query parameter specifies the verification token type that Google should check for. The value of verificationMethod should match the value previously passed to getToken.

Request

HTTP Request

POST https://www.googleapis.com/siteVerification/v1/webResource?verificationMethod=method

Parameters

Parameter Name Value Description
Required Parameters
verificationMethod string The method to use for verifying a site or domain.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/siteverification
https://www.googleapis.com/auth/siteverification.verify_only

Request Body

In the request body, supply a WebResource resource.

Response

If successful, this method returns a WebResource resource in the response body.

Try It!

Use the explorer below to call this method on live data and see the response. Alternatively, try the standalone explorer.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.