# Google Forms Integration via LowCodeAPI

**Last Updated**: February 10, 2026

## Overview
Forms and surveys

**Categories:**
- {'id': 'google-other', 'name': 'Google Other'}

## Base Endpoint
https://api.lowcodeapi.com/googleforms

**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`

## Authentication
**Type:** OAUTH2.0

**Official Documentation:** https://developers.google.com/forms/api/reference/rest

## URL Format (Important)

LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.

### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`

### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`

### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider

## API Categories

## Common Endpoints

### Create a new form

**Method:** POST
**LowCodeAPI Path:** /v1/forms

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms?api_token=YOUR_API_TOKEN

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| info | object |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/googleforms/v1/forms?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms/create

### Get a form

**Method:** GET
**LowCodeAPI Path:** /v1/forms/{formId}

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/{formId}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/formid?formId={formId}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| formId | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/googleforms/v1/forms/{formId}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms/get

### Batch update form

**Method:** POST
**LowCodeAPI Path:** /v1/forms/{formId}:batchUpdate

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/{formId}:batchUpdate?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/formid-batchupdate?formId={formId}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| formId | string |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| includeFormInResponse | boolean |  |
| requests | array |  |
| writeControl | object |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/googleforms/v1/forms/{formId}:batchUpdate?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms/batchUpdate

### List form responses

**Method:** GET
**LowCodeAPI Path:** /v1/forms/{formId}/responses

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/responses?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/formid/responses?formId={formId}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| formId | string |  |

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| filter | string |  |
| pageSize | integer |  |
| pageToken | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/responses?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms.responses/list

### Get form response

**Method:** GET
**LowCodeAPI Path:** /v1/forms/{formId}/responses/{responseId}

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/responses/{responseId}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/formid/responses/responseid?formId={formId}&responseId={responseId}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| formId | string |  |
| responseId | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/responses/{responseId}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms.responses/get

### List form watches

**Method:** GET
**LowCodeAPI Path:** /v1/forms/{formId}/watches

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/watches?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/formid/watches?formId={formId}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| formId | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/watches?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms.watches/list

### Create form watch

**Method:** POST
**LowCodeAPI Path:** /v1/forms/{formId}/watches

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/watches?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/formid/watches?formId={formId}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| formId | string |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| watch | object |  |
| watchId | string |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/watches?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms.watches/create

### Delete form watch

**Method:** DELETE
**LowCodeAPI Path:** /v1/forms/{formId}/watches/{watchId}

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/watches/{watchId}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/formid/watches/watchid?formId={formId}&watchId={watchId}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| formId | string |  |
| watchId | string |  |

**Example Request (New Format):**

```bash
curl -X DELETE 'https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/watches/{watchId}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms.watches/delete

### Renew form watch

**Method:** POST
**LowCodeAPI Path:** /v1/forms/{formId}/watches/{watchId}:renew

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/watches/{watchId}:renew?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/formid/watches/watchid-renew?formId={formId}&watchId={watchId}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| formId | string |  |
| watchId | string |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/googleforms/v1/forms/{formId}/watches/{watchId}:renew?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms.watches/renew

### Set form publish settings

**Method:** POST
**LowCodeAPI Path:** /v1/forms/{formId}:setPublishSettings

**New Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/{formId}:setPublishSettings?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/googleforms/v1/forms/formid-setpublishsettings?formId={formId}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| formId | string |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| publishSettings | object |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/googleforms/v1/forms/{formId}:setPublishSettings?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developers.google.com/forms/api/reference/rest/v1/forms/setPublishSettings


## Usage Examples

### Example 1: Basic API Request

```bash
# List resources - no path parameters needed
curl -X GET "https://api.lowcodeapi.com/googleforms/v1/resources?api_token=YOUR_API_TOKEN"
```

### Example 2: Request with Path Parameters

```bash
# Get specific resource by ID
curl -X GET "https://api.lowcodeapi.com/googleforms/v1/resources/{RESOURCE_ID}?api_token=YOUR_API_TOKEN"
```

### Example 3: Create or Update Resource

```bash
# Create a new resource
curl -X POST "https://api.lowcodeapi.com/googleforms/v1/resources?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "New Resource", "description": "Description"}'
```

## Error Handling

LowCodeAPI returns standard HTTP status codes. Common errors:

| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |

All error responses include error details:

```json
{
  "data": {
    "error": {
      "message": "Error description",
      "code": "ERROR_CODE"
    }
  }
}
```

## Complete Endpoint Reference

| Endpoint | Method | Category |
|----------|--------|----------|
| Create a new form | POST | Forms |
| Get a form | GET | Forms |
| Batch update form | POST | Forms |
| List form responses | GET | Forms Responses |
| Get form response | GET | Forms Responses |
| List form watches | GET | Forms Watches |
| Create form watch | POST | Forms Watches |
| Delete form watch | DELETE | Forms Watches |
| Renew form watch | POST | Forms Watches |
| Set form publish settings | POST | Forms |

## API Definition Endpoints

You can fetch the complete API specification for this provider:

**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/googleforms/openapi'
```

**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/googleforms/definition'
```

## Response Format

All responses are wrapped in a `data` key:

```json
{
  "data": {
    // Actual response from provider (object or array)
  }
}
```