Create form with the Google Forms API
Creates an empty form with a title and returns its formId and responderUri, the link for respondents. Add the questions with Update form. Since July 2026 a form created by the API starts unpublished and takes no responses until Update publish settings publishes it.
- Identifier
- google_forms_create_form
The request
POST https://connect.reportei.com/api/tools/google_forms_create_form/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"info": {}
}
}Your system sends your customer's connection id and the tool arguments. The headers are the same as the rest of the Connect API: your product's token and your customer's token.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| info | object | Yes | Only the titles: the description, the items and the settings are refused here and go in Update form. |
Supported connections
Your customer connects their Google Forms account once, with one of the modes below. The same connection serves every tool of the toolkit.
OAuth with your product's app
You register your product's OAuth app once, with POST /api/merchants/credentials/google_forms, and your customer authorizes the account on a consent screen. Connect renews the token when it is about to expire.
The response
On success, Connect preserves the app's response status and body. HTTP errors returned by the app use the {error, api_error} envelope; authentication or validation can fail before execution. The X-Toolkit-Execution-Id header identifies the recorded execution, available at GET /api/tools/executions/{uuid}.
Ready for AI agents
This tool's input is a JSON Schema, available at GET /api/tools/google_forms_create_form. It becomes your agent's tool definition with no conversion.
Other Google Forms tools
- Get formGETReturns a form: info, settings, publishSettings, responderUri (the link for respondents), revisionId and the items in order, each with its itemId and, in a question, its questionId. The answers of List responses are keyed by questionId.
- Update formPOSTEdits a form: creates, changes, moves and deletes questions, blocks of text and sections, and changes the title, the description and the email collection. The edits apply in order and all or nothing. The replies of createItem bring the new itemId and questionId.
- Update publish settingsPOSTPublishes, closes or unpublishes a form. isPublished and isAcceptingResponses both true open it for responses, isPublished true with isAcceptingResponses false closes it, and both false unpublish it. Who can respond follows the sharing of the form in Google Drive. Legacy forms, whose Get form has no publishSettings, are not supported.
- List responsesGETLists the responses of a form, each with responseId, createTime, lastSubmittedTime, respondentEmail when the form collects it, and answers keyed by questionId: Get form tells which question each questionId is. Pass nextPageToken as pageToken to read the next page.
- Get responseGETReturns one response of a form, with its answers keyed by questionId.
See Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
