Để nhà sáng tạo biểu mẫu có nhiều quyền kiểm soát hơn đối với những người có thể trả lời, chúng tôi sẽ ra mắt các chế độ kiểm soát chi tiết cho người trả lời. Theo mặc định, những biểu mẫu được tạo bằng API sau ngày 31 tháng 1 năm 2026 sẽ có trạng thái chưa xuất bản. Để tìm hiểu thêm, hãy xem bài viết Các thay đổi về API đối với Google Biểu mẫu.
Để gọi dịch vụ này, bạn nên sử dụng thư viện ứng dụng do Google cung cấp. Nếu ứng dụng của bạn cần sử dụng thư viện của riêng mình để gọi dịch vụ này, hãy sử dụng thông tin sau khi bạn tạo yêu cầu API.
Tài liệu khám phá
Tài liệu khám phá là một bản đặc tả có thể đọc được bằng máy để mô tả và sử dụng các API REST. Thư viện này dùng để tạo thư viện ứng dụng, trình bổ trợ IDE và các công cụ khác tương tác với API của Google. Một dịch vụ có thể cung cấp nhiều tài liệu khám phá. Dịch vụ này cung cấp tài liệu khám phá sau:
Điểm cuối của dịch vụ là một URL cơ sở chỉ định địa chỉ mạng của một dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối dịch vụ sau và tất cả URI dưới đây đều liên quan đến điểm cuối dịch vụ này:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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,["Reads 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\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\nDiscovery 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\nService 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| 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| 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| 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. |"]]