Create a Google Form and add questions to it using the Forms API's batchUpdate method

domain: developers.google.com/workspace/forms · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable the Google Forms API in a Google Cloud project and set up OAuth 2.0 credentials with the appropriate forms scope
  2. Call forms.create with only a title in the request body -- the create call intentionally supports minimal initial content
  3. Call forms.batchUpdate on the new form's formId with a requests array containing createItem requests for each question
  4. For each createItem request, specify the item's title and a question type payload (e.g. textQuestion, choiceQuestion) plus its location/index in the form
  5. Send updateFormInfo or updateSettings requests in the same batchUpdate call if you also need to set the description or quiz settings
  6. GET the form afterward to confirm items were created in the intended order and with the intended question configuration

Known gotchas

Related routes

Create a SurveyMonkey survey pre-populated from a template, then add custom pages and questions via the API
developer.surveymonkey.com · 6 steps · unrated
Create a Jotform form via the API and configure question-level properties
api.jotform.com · 6 steps · unrated
Build a Typeform form programmatically using the Create API, including multiple field types and a logic jump
typeform.com/developers · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans