为了让表单创建者能够更好地控制哪些人可以回复,我们将为回复者引入精细的控制功能。2026 年 1 月 31 日之后使用该 API 创建的表单将默认处于未发布状态。如需了解详情,请参阅
Google 表单的 API 变更。
Method: forms.responses.list
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["To list form responses, send a `GET` request to `https://forms.googleapis.com/v1beta/forms/{formId}/responses`, replacing `{formId}` with the relevant ID. Use the `filter` query parameter to specify a timestamp for responses, `pageSize` to limit results, and `pageToken` for pagination. The request body should be empty. A successful response returns a JSON object with an array of `responses` and a `nextPageToken` for subsequent pages. Authorization requires specific OAuth scopes.\n"],null,["# Method: forms.responses.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListFormResponsesResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n\nList a form's responses.\n\n### HTTP request\n\n`GET https://forms.googleapis.com/v1beta/forms/{formId}/responses`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------|\n| `formId` | `string` Required. ID of the Form whose responses to list. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `filter` | `string` Which form responses to return. Currently, the only supported filters are: - `timestamp \u003e `*N* which means to get all form responses submitted after (but not at) timestamp *N*. \\* `timestamp \u003e= `*N* which means to get all form responses submitted at and after timestamp *N*. For both supported filters, timestamp must be formatted in RFC3339 UTC \"Zulu\" format. Examples: \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\". |\n| `pageSize` | `integer` The maximum number of responses to return. The service may return fewer than this value. If unspecified or zero, at most 5000 responses are returned. |\n| `pageToken` | `string` A page token returned by a previous list response. If this field is set, the form and the values of the filter must be the same as for the original request. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse to a ListFormResponsesRequest.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"responses\": [ { object (/forms/api/reference/rest/v1beta/forms.responses#FormResponse) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `responses[]` | `object (`[FormResponse](/forms/api/reference/rest/v1beta/forms.responses#FormResponse)`)` The returned responses. |\n| `nextPageToken` | `string` If set, there are more responses. To get the next page of responses, provide this as `pageToken` in a future request. |\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/drive`\n- `\n https://www.googleapis.com/auth/drive.file`\n- `\n https://www.googleapis.com/auth/forms.responses.readonly`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]