為讓表單建立者進一步控管回覆者,我們推出了精細的回覆者控管功能。2026 年 1 月 31 日後透過 API 建立的表單,預設為未發布狀態。詳情請參閱「
Google 表單的 API 變更」。
Google 表單的 API 異動
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
我們推出了精細控管選項,可設定哪些使用者可以回覆 Google 表單,因此您必須先發布表單,才能與作答者分享。為確保現有指令碼不會中斷,系統會預設發布由 API 建立的表單。不過,為配合使用者介面中的產品體驗,透過 API 建立的表單會在 2026 年 1 月 31 日後處於未發布的狀態,您必須先發布表單,才能接受回覆。
置之不理會導致的結果
如果未採取任何行動,在 2026 年 1 月 31 日後使用 API 建立的新表單,預設會處於未發布的狀態,且不會收到回覆。
需要進行哪些變更
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-01 (世界標準時間)。
[null,null,["上次更新時間:2025-07-01 (世界標準時間)。"],[],[],null,["# API Changes to Google Forms\n\nWith the introduction of the granular control options for who can respond to\nGoogle Forms, forms need to be published before sharing with responders. To\nmake sure that existing scripts don't break, today API created forms are published\nby default. However, to align with the product experience in the UI, forms\ncreated by API after January 31, 2026, will be created in an unpublished state\nand you must publish the forms before they can accept responses.\n\nWhat happens if you do nothing\n------------------------------\n\nIf no action is taken, then new forms created using APIs after January 31, 2026,\nwill be in an unpublished state by default and won't receive responses.\n\nWhat changes do you need to make\n--------------------------------\n\n- Forms created by API after January 31, 2026, will be created in an\n unpublished state. Going forward, you will need to explicitly publish the forms\n created by API by using the [`forms.setPublishedSettings()`](/workspace/forms/api/reference/rest/v1/forms/setPublishSettings) method.\n\n- To test publishing a form, first create a form in an unpublished state using the\n [`forms.create()`](/workspace/forms/api/reference/rest/v1/forms/create) method.\n Then publish the form with the [`forms.setPublishSettings()`](/workspace/forms/api/reference/rest/v1/forms/setPublishSettings) method.\n\n- You can control who responds to your form by sharing it with specific users. The [`permissions.create`](/workspace/drive/api/reference/rest/v3/permissions/create) method can be used to share the form with responders. Refer\n to [Share your form with more responders](/workspace/forms/api/guides/publish-form#share-form) for more details."]]