The Google Forms API is currently in Restricted Beta. To use the API, apply for access at the Early Adopter Program page.

Method: forms.watches.list

Return a list of the watches owned by the invoking project. The maximum number of watches is two: For each invoker, the limit is one for each event type per form.

HTTP request

GET https://forms.googleapis.com/v1alpha/forms/{formId}/watches

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
formId

string

Required. ID of the Form whose watches to list.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

The response of a ListWatchesRequest.

JSON representation
{
  "watches": [
    {
      object (Watch)
    }
  ]
}
Fields
watches[]

object (Watch)

The returned watches.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/drive
  • https://www.googleapis.com/auth/drive.readonly
  • https://www.googleapis.com/auth/forms.body
  • https://www.googleapis.com/auth/forms.body.readonly
  • https://www.googleapis.com/auth/forms.responses.readonly

For more information, see the OAuth 2.0 Overview.