Skip to main content
setPublishSettings controls whether respondents can see and submit a form.

Example

Inputs

form, isPublished, and isAcceptingResponses are required. A form cannot accept responses while unpublished. account selects the Google account.

Output

Returns { formId: string; publishSettings: { isPublished: boolean; isAcceptingResponses: boolean } }. Google only supports this publishing API for modern forms that use explicit publication controls.