Google Site Verification API
Verifies ownership of websites or domains with Google.
Identity & security#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Verifies ownership of websites or domains with Google.
Endpoints 7
webResource
- GETGet the most current data for a website or domain.
/webResource/:idGet the most current data for a website or domain. - PUTModify the list of owners for your website or domain.
/webResource/:idModify the list of owners for your website or domain. - DELETERelinquish ownership of a website or domain.
/webResource/:idRelinquish ownership of a website or domain. - PATCHModify the list of owners for your website or domain
/webResource/:idModify the list of owners for your website or domain. This method supports patch semantics. - POSTGet a verification token for placing on a website or domain.
/tokenGet a verification token for placing on a website or domain. - GETGet the list of your verified websites and domains.
/webResourceGet the list of your verified websites and domains. - POSTAttempt verification of a website or domain.
/webResource?verificationMethod=stringAttempt verification of a website or domain.
API details
- Base URL
https://www.googleapis.com/siteVerification/v1- Authentication
- OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the key query parameter - Operations
- 7 operations on 3 pathsGET 2POST 2PUT 1PATCH 1DELETE 1
- Main resources
- webResource 7
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Google Site Verification API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Google Site Verification API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Get the most current data for a website or domain.” (GET /webResource/:id), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Google Site Verification API?
Verifies ownership of websites or domains with Google. It is listed under Identity & security and has 7 endpoints.
Who publishes the Google Site Verification API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Google Site Verification API?
Requests go to https://www.googleapis.com/siteVerification/v1. Endpoint paths are added to this base URL.
How do I authenticate with the Google Site Verification API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the key query parameter.
How many endpoints does the Google Site Verification API have?
7 operations on 3 paths (2 GET, 2 POST, 1 PUT, 1 PATCH, 1 DELETE). The largest groups are webResource.
Is forking the Google Site Verification API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.