เรากำลังเปิดตัวการควบคุมแบบละเอียดสำหรับผู้ตอบเพื่อให้ผู้สร้างแบบฟอร์มควบคุมผู้ที่มีสิทธิ์ตอบได้มากขึ้น แบบฟอร์มที่สร้างด้วย API หลังจากวันที่ 31 มกราคม 2026 จะมีสถานะ "ไม่ได้เผยแพร่" โดยค่าเริ่มต้น ดูข้อมูลเพิ่มเติมได้ที่
การเปลี่ยนแปลง API ใน Google ฟอร์ม
Method: forms.responses.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],["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)."]]