SnozeDevelopers
API referenceIntegrations

Import a Google Form as a native form and database

Copies a Google Form into a new native Snoze form plus a purpose-built backing database for its responses, and reports the questions that had no native equivalent. This is a one-time structural copy with no ongoing link to the provider. Requires the provider read permissions the underlying resource read enforces, plus permission to create the form and database. A resource that is not a Google Form, or a form with no importable questions, is rejected. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.

POST
/v1/workspaces/{workspaceId}/integrations/resources/import-form
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/workspaces/string/integrations/resources/import-form" \  -H "Content-Type: application/json" \  -d '{    "connectionId": "string",    "resource": {      "externalType": "string",      "externalId": "string",      "name": "string",      "surfaceKind": "generic",      "capabilities": [        "browse"      ]    }  }'
{  "data": {    "surfaceId": "string",    "itemId": "string",    "databaseId": "string",    "title": "string",    "fieldCount": 0,    "skipped": [      "string"    ]  }}