{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/foxform-app/json-schema/foxform-app-create-integration-request-schema.json",
  "title": "CreateIntegrationRequest",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/foxform-app-openapi.json#/components/schemas/CreateIntegrationRequest",
  "type": "object",
  "required": [
    "provider"
  ],
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "meta_pixel",
        "google_ads",
        "ga4",
        "gtm",
        "tiktok_pixel",
        "webhook",
        "automation_key",
        "slack",
        "google_sheets"
      ]
    },
    "name": {
      "type": "string"
    },
    "config": {
      "type": "object",
      "description": "Required shape depends on provider — see Connection.config. google_sheets connections are created via the OAuth flow in the dashboard, not directly through this endpoint.",
      "additionalProperties": true
    }
  }
}