Чтобы предоставить создателям форм больше контроля над тем, кто может отвечать, мы вводим детальный контроль для респондентов. Формы, созданные с помощью API после 31 января 2026 года, по умолчанию будут иметь неопубликованное состояние. Чтобы узнать больше, см. Изменения API в Google Forms .
Для вызова этой службы мы рекомендуем использовать клиентские библиотеки Google. Если вашему приложению необходимо использовать собственные библиотеки для вызова этой службы, используйте следующую информацию при отправке запросов API.
Документ открытия
Документ обнаружения — это машиночитаемая спецификация для описания и использования REST API. Он используется для создания клиентских библиотек, плагинов IDE и других инструментов, взаимодействующих с API Google. Одна служба может предоставлять несколько документов обнаружения. Эта служба предоставляет следующий документ обнаружения:
Конечная точка службы — это базовый URL-адрес, указывающий сетевой адрес службы API. Одна служба может иметь несколько конечных точек службы. Эта служба имеет следующую конечную точку службы, и все приведенные ниже URI относятся к этой конечной точке службы:
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-25 UTC."],[],["The API allows interaction with Google Forms and their responses. It supports creating new forms, retrieving specific forms, and batch updating forms. For responses, users can retrieve a single response or list all responses for a given form. The API also manages watches, enabling the creation, deletion, listing, and renewal of watches associated with forms. The base URL for the service is `https://forms.googleapis.com`.\n"],null,["# Google Forms API\n\nReads and writes Google Forms and responses.\n\n- [REST Resource: v1.forms](#v1.forms)\n- [REST Resource: v1.forms.responses](#v1.forms.responses)\n- [REST Resource: v1.forms.watches](#v1.forms.watches)\n\nService: forms.googleapis.com\n-----------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://forms.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://forms.googleapis.com`\n\nREST Resource: [v1.forms](/workspace/forms/api/reference/rest/v1/forms)\n-----------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| [batchUpdate](/workspace/forms/api/reference/rest/v1/forms/batchUpdate) | `POST /v1/forms/{formId}:batchUpdate` Change the form with a batch of updates. |\n| [create](/workspace/forms/api/reference/rest/v1/forms/create) | `POST /v1/forms` Create a new form using the title given in the provided form message in the request. |\n| [get](/workspace/forms/api/reference/rest/v1/forms/get) | `GET /v1/forms/{formId}` Get a form. |\n| [setPublishSettings](/workspace/forms/api/reference/rest/v1/forms/setPublishSettings) | `POST /v1/forms/{formId}:setPublishSettings` Updates the publish settings of a form. |\n\nREST Resource: [v1.forms.responses](/workspace/forms/api/reference/rest/v1/forms.responses)\n-------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| [get](/workspace/forms/api/reference/rest/v1/forms.responses/get) | `GET /v1/forms/{formId}/responses/{responseId}` Get one response from the form. |\n| [list](/workspace/forms/api/reference/rest/v1/forms.responses/list) | `GET /v1/forms/{formId}/responses` List a form's responses. |\n\nREST Resource: [v1.forms.watches](/workspace/forms/api/reference/rest/v1/forms.watches)\n---------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------|----------------------------------------------------------------------------------------------|\n| [create](/workspace/forms/api/reference/rest/v1/forms.watches/create) | `POST /v1/forms/{formId}/watches` Create a new watch. |\n| [delete](/workspace/forms/api/reference/rest/v1/forms.watches/delete) | `DELETE /v1/forms/{formId}/watches/{watchId}` Delete a watch. |\n| [list](/workspace/forms/api/reference/rest/v1/forms.watches/list) | `GET /v1/forms/{formId}/watches` Return a list of the watches owned by the invoking project. |\n| [renew](/workspace/forms/api/reference/rest/v1/forms.watches/renew) | `POST /v1/forms/{formId}/watches/{watchId}:renew` Renew an existing watch for seven days. |"]]