{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clickfunnels",
    "name": "ClickFunnels",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/byungkyu/clickfunnels",
    "canonicalUrl": "https://clawhub.ai/byungkyu/clickfunnels",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/clickfunnels",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clickfunnels",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/clickfunnels"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/clickfunnels",
    "agentPageUrl": "https://openagent3.xyz/skills/clickfunnels/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clickfunnels/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clickfunnels/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "ClickFunnels",
        "body": "Access the ClickFunnels 2.0 API with managed OAuth authentication. Manage contacts, products, orders, courses, forms, webhooks, and more."
      },
      {
        "title": "Quick Start",
        "body": "# List teams\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clickfunnels/api/v2/teams')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'Maton/1.0')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/clickfunnels/{native-api-path}\n\nReplace {native-api-path} with the actual ClickFunnels API endpoint path. The gateway proxies requests to {subdomain}.myclickfunnels.com and automatically injects your OAuth token."
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header and a User-Agent header:\n\nAuthorization: Bearer $MATON_API_KEY\nUser-Agent: Maton/1.0\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key"
      },
      {
        "title": "Connection Management",
        "body": "Manage your ClickFunnels OAuth connections at https://ctrl.maton.ai."
      },
      {
        "title": "List Connections",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=clickfunnels&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Create Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'clickfunnels'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Get Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"clickfunnels\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete OAuth authorization."
      },
      {
        "title": "Delete Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple ClickFunnels connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clickfunnels/api/v2/teams')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'Maton/1.0')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Teams",
        "body": "List Teams\n\nGET /clickfunnels/api/v2/teams\n\nResponse:\n\n[\n  {\n    \"id\": 412840,\n    \"public_id\": \"vPNqAp\",\n    \"name\": \"My Team\",\n    \"time_zone\": \"Pacific Time (US & Canada)\",\n    \"locale\": \"en\",\n    \"created_at\": \"2026-02-07T09:28:29.709Z\",\n    \"updated_at\": \"2026-02-07T11:14:32.118Z\"\n  }\n]\n\nGet Team\n\nGET /clickfunnels/api/v2/teams/{team_id}"
      },
      {
        "title": "Workspaces",
        "body": "List Workspaces\n\nGET /clickfunnels/api/v2/teams/{team_id}/workspaces\n\nResponse:\n\n[\n  {\n    \"id\": 435231,\n    \"public_id\": \"JZqWGb\",\n    \"team_id\": 412840,\n    \"name\": \"My Workspace\",\n    \"subdomain\": \"myworkspace\",\n    \"created_at\": \"2026-02-07T09:28:31.268Z\",\n    \"updated_at\": \"2026-02-07T09:28:34.498Z\"\n  }\n]\n\nGet Workspace\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}"
      },
      {
        "title": "Contacts",
        "body": "List Contacts\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts\n\nWith filtering:\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?filter[email_address]=user@example.com\n\nResponse:\n\n[\n  {\n    \"id\": 1087091674,\n    \"public_id\": \"PWzmxEx\",\n    \"workspace_id\": 435231,\n    \"email_address\": \"user@example.com\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"phone_number\": null,\n    \"time_zone\": null,\n    \"uuid\": \"eb7a970c-727d-4c82-9209-bd8f7457a801\",\n    \"tags\": [],\n    \"custom_attributes\": {},\n    \"created_at\": \"2026-02-07T09:28:52.713Z\",\n    \"updated_at\": \"2026-02-07T09:28:52.777Z\"\n  }\n]\n\nGet Contact\n\nGET /clickfunnels/api/v2/contacts/{contact_id}\n\nCreate Contact\n\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/contacts\nContent-Type: application/json\n\n{\n  \"contact\": {\n    \"email_address\": \"newuser@example.com\",\n    \"first_name\": \"Jane\",\n    \"last_name\": \"Smith\",\n    \"phone_number\": \"+1234567890\"\n  }\n}\n\nUpdate Contact\n\nPUT /clickfunnels/api/v2/contacts/{contact_id}\nContent-Type: application/json\n\n{\n  \"contact\": {\n    \"first_name\": \"Updated Name\",\n    \"phone_number\": \"+1987654321\"\n  }\n}\n\nDelete Contact\n\nDELETE /clickfunnels/api/v2/contacts/{contact_id}\n\nReturns HTTP 204 on success.\n\nUpsert Contact\n\nCreate or update a contact based on matching email:\n\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/contacts/upsert\nContent-Type: application/json\n\n{\n  \"contact\": {\n    \"email_address\": \"user@example.com\",\n    \"first_name\": \"Updated\"\n  }\n}\n\nGDPR Redact Contact\n\nDELETE /clickfunnels/api/v2/workspaces/{workspace_id}/contacts/{contact_id}/gdpr_destroy"
      },
      {
        "title": "Products",
        "body": "List Products\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/products\n\nResponse:\n\n[\n  {\n    \"id\": 962732,\n    \"public_id\": \"jAvBEA\",\n    \"workspace_id\": 435231,\n    \"name\": \"My Product\",\n    \"current_path\": \"/my-product\",\n    \"archived\": false,\n    \"visible_in_store\": true,\n    \"visible_in_customer_center\": true,\n    \"default_variant_id\": 5361073,\n    \"variant_ids\": [5361073],\n    \"price_ids\": [],\n    \"tag_ids\": [],\n    \"created_at\": \"2026-02-09T07:23:02.158Z\",\n    \"updated_at\": \"2026-02-09T07:23:02.163Z\"\n  }\n]\n\nGet Product\n\nGET /clickfunnels/api/v2/products/{product_id}\n\nCreate Product\n\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/products\nContent-Type: application/json\n\n{\n  \"product\": {\n    \"name\": \"New Product\",\n    \"visible_in_store\": true,\n    \"visible_in_customer_center\": true\n  }\n}\n\nUpdate Product\n\nPUT /clickfunnels/api/v2/products/{product_id}\nContent-Type: application/json\n\n{\n  \"product\": {\n    \"name\": \"Updated Product Name\"\n  }\n}\n\nArchive Product\n\nPOST /clickfunnels/api/v2/products/{product_id}/archive\n\nUnarchive Product\n\nPOST /clickfunnels/api/v2/products/{product_id}/unarchive"
      },
      {
        "title": "Orders",
        "body": "List Orders\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/orders\n\nGet Order\n\nGET /clickfunnels/api/v2/orders/{order_id}\n\nUpdate Order\n\nPUT /clickfunnels/api/v2/orders/{order_id}\nContent-Type: application/json\n\n{\n  \"order\": {\n    \"notes\": \"Updated order notes\"\n  }\n}"
      },
      {
        "title": "Fulfillments",
        "body": "List Fulfillments\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/fulfillments\n\nGet Fulfillment\n\nGET /clickfunnels/api/v2/fulfillments/{fulfillment_id}\n\nCreate Fulfillment\n\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/fulfillments\nContent-Type: application/json\n\n{\n  \"fulfillment\": {\n    \"contact_id\": 1087091674,\n    \"location_id\": 12345,\n    \"tracking_url\": \"https://tracking.example.com/123\",\n    \"shipping_provider\": \"ups\",\n    \"tracking_code\": \"1Z999AA10123456784\",\n    \"notify_customer\": true\n  }\n}\n\nCancel Fulfillment\n\nPOST /clickfunnels/api/v2/fulfillments/{fulfillment_id}/cancel"
      },
      {
        "title": "Courses",
        "body": "List Courses\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/courses\n\nGet Course\n\nGET /clickfunnels/api/v2/courses/{course_id}"
      },
      {
        "title": "Enrollments",
        "body": "List Enrollments\n\nGET /clickfunnels/api/v2/courses/{course_id}/enrollments\n\nCreate Enrollment\n\nPOST /clickfunnels/api/v2/courses/{course_id}/enrollments\nContent-Type: application/json\n\n{\n  \"courses_enrollment\": {\n    \"contact_id\": 1087091674\n  }\n}\n\nUpdate Enrollment\n\nPUT /clickfunnels/api/v2/courses/{course_id}/enrollments/{enrollment_id}\nContent-Type: application/json\n\n{\n  \"courses_enrollment\": {\n    \"suspended\": true,\n    \"suspension_reason\": \"Payment failed\"\n  }\n}"
      },
      {
        "title": "Forms",
        "body": "List Forms\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/forms\n\nResponse:\n\n[\n  {\n    \"id\": 442896,\n    \"public_id\": \"NdOxzL\",\n    \"workspace_id\": 435231,\n    \"name\": \"Contact Form\",\n    \"created_at\": \"2026-02-07T09:28:33.316Z\",\n    \"updated_at\": \"2026-02-07T09:28:33.316Z\"\n  }\n]\n\nGet Form\n\nGET /clickfunnels/api/v2/forms/{form_id}\n\nList Form Submissions\n\nGET /clickfunnels/api/v2/forms/{form_id}/submissions"
      },
      {
        "title": "Images",
        "body": "List Images\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/images\n\nResponse:\n\n[\n  {\n    \"id\": 20670308,\n    \"public_id\": \"mvvWWM\",\n    \"url\": \"https://statics.myclickfunnels.com/workspace/JZqWGb/image/20670308/file/image.png\",\n    \"workspace_id\": 435231,\n    \"alt_text\": null,\n    \"name\": null,\n    \"created_at\": \"2026-02-07T09:28:40.102Z\",\n    \"updated_at\": \"2026-02-07T09:29:01.697Z\"\n  }\n]\n\nCreate Image (via URL)\n\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/images\nContent-Type: application/json\n\n{\n  \"image\": {\n    \"upload_source_url\": \"https://example.com/image.png\"\n  }\n}"
      },
      {
        "title": "Webhooks",
        "body": "List Webhook Endpoints\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/webhooks/outgoing/endpoints\n\nResponse:\n\n[\n  {\n    \"id\": 96677,\n    \"public_id\": \"vBZlEl\",\n    \"workspace_id\": 435231,\n    \"url\": \"https://example.com/webhook\",\n    \"name\": \"My Webhook\",\n    \"event_type_ids\": [\"contact.created\"],\n    \"api_version\": 2,\n    \"webhook_secret\": \"e779d4b2faa7d986...\",\n    \"created_at\": \"2026-02-09T07:23:22.295Z\",\n    \"updated_at\": \"2026-02-09T07:23:22.295Z\"\n  }\n]\n\nCreate Webhook Endpoint\n\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/webhooks/outgoing/endpoints\nContent-Type: application/json\n\n{\n  \"webhooks_outgoing_endpoint\": {\n    \"url\": \"https://example.com/webhook\",\n    \"name\": \"New Webhook\",\n    \"event_type_ids\": [\"contact.created\", \"order.created\"]\n  }\n}\n\nGet Webhook Endpoint\n\nGET /clickfunnels/api/v2/webhooks/outgoing/endpoints/{endpoint_id}\n\nUpdate Webhook Endpoint\n\nPUT /clickfunnels/api/v2/webhooks/outgoing/endpoints/{endpoint_id}\nContent-Type: application/json\n\n{\n  \"webhooks_outgoing_endpoint\": {\n    \"name\": \"Updated Webhook\",\n    \"event_type_ids\": [\"contact.created\", \"contact.updated\"]\n  }\n}\n\nDelete Webhook Endpoint\n\nDELETE /clickfunnels/api/v2/webhooks/outgoing/endpoints/{endpoint_id}\n\nReturns HTTP 204 on success."
      },
      {
        "title": "Pagination",
        "body": "ClickFunnels uses cursor-based pagination. Each list endpoint returns a maximum of 20 items.\n\nUse the after parameter with the ID of the last item to get the next page:\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?after=1087091674\n\nResponse Headers:\n\nPagination-Next: ID of the last item (use for next page)\nLink: Full URL for the next page\n\nExample pagination flow:\n\n# First page\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/images\n\n# Response header: Pagination-Next: 20670327\n\n# Next page\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/images?after=20670327"
      },
      {
        "title": "Filtering",
        "body": "Use the filter query parameter to filter list results:\n\n# Filter by email\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?filter[email_address]=user@example.com\n\n# Filter by multiple emails (OR)\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?filter[email_address]=user1@example.com,user2@example.com\n\n# Multiple filters (AND)\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?filter[email_address]=user@example.com&filter[id]=1087091674"
      },
      {
        "title": "JavaScript",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/clickfunnels/api/v2/teams',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`,\n      'User-Agent': 'Maton/1.0'\n    }\n  }\n);\nconst teams = await response.json();"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/clickfunnels/api/v2/teams',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'User-Agent': 'Maton/1.0'\n    }\n)\nteams = response.json()"
      },
      {
        "title": "Create Contact Example",
        "body": "import os\nimport requests\n\nresponse = requests.post(\n    'https://gateway.maton.ai/clickfunnels/api/v2/workspaces/435231/contacts',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json',\n        'User-Agent': 'Maton/1.0'\n    },\n    json={\n        'contact': {\n            'email_address': 'newuser@example.com',\n            'first_name': 'Jane',\n            'last_name': 'Smith'\n        }\n    }\n)\ncontact = response.json()"
      },
      {
        "title": "Notes",
        "body": "Team IDs, workspace IDs, and resource IDs are integers\nEach resource also has a public_id (string) for public-facing URLs\nList endpoints return max 20 items per page by default\nUse after parameter for pagination\nDelete operations return HTTP 204 with empty response\nRequest bodies use nested resource keys (e.g., {\"contact\": {...}})\nImages max size: 10MB, max dimensions: 10,000 x 10,000 pixels\nSupported image formats: JPEG, PNG, WebP, GIF, SVG\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments"
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Missing ClickFunnels connection401Invalid or missing Maton API key404Resource not found422Validation error (check response body)429Rate limited4xx/5xxPassthrough error from ClickFunnels API"
      },
      {
        "title": "Troubleshooting: API Key Issues",
        "body": "Check that the MATON_API_KEY environment variable is set:\n\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Troubleshooting: Invalid App Name",
        "body": "Ensure your URL path starts with clickfunnels. For example:\n\nCorrect: https://gateway.maton.ai/clickfunnels/api/v2/teams\nIncorrect: https://gateway.maton.ai/api/v2/teams"
      },
      {
        "title": "Resources",
        "body": "ClickFunnels API Introduction\nClickFunnels API Reference\nPagination Guide\nFiltering Guide\nWebhooks Overview\nMaton Community\nMaton Support"
      }
    ],
    "body": "ClickFunnels\n\nAccess the ClickFunnels 2.0 API with managed OAuth authentication. Manage contacts, products, orders, courses, forms, webhooks, and more.\n\nQuick Start\n# List teams\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clickfunnels/api/v2/teams')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'Maton/1.0')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nBase URL\nhttps://gateway.maton.ai/clickfunnels/{native-api-path}\n\n\nReplace {native-api-path} with the actual ClickFunnels API endpoint path. The gateway proxies requests to {subdomain}.myclickfunnels.com and automatically injects your OAuth token.\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header and a User-Agent header:\n\nAuthorization: Bearer $MATON_API_KEY\nUser-Agent: Maton/1.0\n\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key\nConnection Management\n\nManage your ClickFunnels OAuth connections at https://ctrl.maton.ai.\n\nList Connections\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=clickfunnels&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nCreate Connection\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'clickfunnels'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"clickfunnels\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete OAuth authorization.\n\nDelete Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nSpecifying Connection\n\nIf you have multiple ClickFunnels connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clickfunnels/api/v2/teams')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'Maton/1.0')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\nAPI Reference\nTeams\nList Teams\nGET /clickfunnels/api/v2/teams\n\n\nResponse:\n\n[\n  {\n    \"id\": 412840,\n    \"public_id\": \"vPNqAp\",\n    \"name\": \"My Team\",\n    \"time_zone\": \"Pacific Time (US & Canada)\",\n    \"locale\": \"en\",\n    \"created_at\": \"2026-02-07T09:28:29.709Z\",\n    \"updated_at\": \"2026-02-07T11:14:32.118Z\"\n  }\n]\n\nGet Team\nGET /clickfunnels/api/v2/teams/{team_id}\n\nWorkspaces\nList Workspaces\nGET /clickfunnels/api/v2/teams/{team_id}/workspaces\n\n\nResponse:\n\n[\n  {\n    \"id\": 435231,\n    \"public_id\": \"JZqWGb\",\n    \"team_id\": 412840,\n    \"name\": \"My Workspace\",\n    \"subdomain\": \"myworkspace\",\n    \"created_at\": \"2026-02-07T09:28:31.268Z\",\n    \"updated_at\": \"2026-02-07T09:28:34.498Z\"\n  }\n]\n\nGet Workspace\nGET /clickfunnels/api/v2/workspaces/{workspace_id}\n\nContacts\nList Contacts\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts\n\n\nWith filtering:\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?filter[email_address]=user@example.com\n\n\nResponse:\n\n[\n  {\n    \"id\": 1087091674,\n    \"public_id\": \"PWzmxEx\",\n    \"workspace_id\": 435231,\n    \"email_address\": \"user@example.com\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"phone_number\": null,\n    \"time_zone\": null,\n    \"uuid\": \"eb7a970c-727d-4c82-9209-bd8f7457a801\",\n    \"tags\": [],\n    \"custom_attributes\": {},\n    \"created_at\": \"2026-02-07T09:28:52.713Z\",\n    \"updated_at\": \"2026-02-07T09:28:52.777Z\"\n  }\n]\n\nGet Contact\nGET /clickfunnels/api/v2/contacts/{contact_id}\n\nCreate Contact\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/contacts\nContent-Type: application/json\n\n{\n  \"contact\": {\n    \"email_address\": \"newuser@example.com\",\n    \"first_name\": \"Jane\",\n    \"last_name\": \"Smith\",\n    \"phone_number\": \"+1234567890\"\n  }\n}\n\nUpdate Contact\nPUT /clickfunnels/api/v2/contacts/{contact_id}\nContent-Type: application/json\n\n{\n  \"contact\": {\n    \"first_name\": \"Updated Name\",\n    \"phone_number\": \"+1987654321\"\n  }\n}\n\nDelete Contact\nDELETE /clickfunnels/api/v2/contacts/{contact_id}\n\n\nReturns HTTP 204 on success.\n\nUpsert Contact\n\nCreate or update a contact based on matching email:\n\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/contacts/upsert\nContent-Type: application/json\n\n{\n  \"contact\": {\n    \"email_address\": \"user@example.com\",\n    \"first_name\": \"Updated\"\n  }\n}\n\nGDPR Redact Contact\nDELETE /clickfunnels/api/v2/workspaces/{workspace_id}/contacts/{contact_id}/gdpr_destroy\n\nProducts\nList Products\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/products\n\n\nResponse:\n\n[\n  {\n    \"id\": 962732,\n    \"public_id\": \"jAvBEA\",\n    \"workspace_id\": 435231,\n    \"name\": \"My Product\",\n    \"current_path\": \"/my-product\",\n    \"archived\": false,\n    \"visible_in_store\": true,\n    \"visible_in_customer_center\": true,\n    \"default_variant_id\": 5361073,\n    \"variant_ids\": [5361073],\n    \"price_ids\": [],\n    \"tag_ids\": [],\n    \"created_at\": \"2026-02-09T07:23:02.158Z\",\n    \"updated_at\": \"2026-02-09T07:23:02.163Z\"\n  }\n]\n\nGet Product\nGET /clickfunnels/api/v2/products/{product_id}\n\nCreate Product\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/products\nContent-Type: application/json\n\n{\n  \"product\": {\n    \"name\": \"New Product\",\n    \"visible_in_store\": true,\n    \"visible_in_customer_center\": true\n  }\n}\n\nUpdate Product\nPUT /clickfunnels/api/v2/products/{product_id}\nContent-Type: application/json\n\n{\n  \"product\": {\n    \"name\": \"Updated Product Name\"\n  }\n}\n\nArchive Product\nPOST /clickfunnels/api/v2/products/{product_id}/archive\n\nUnarchive Product\nPOST /clickfunnels/api/v2/products/{product_id}/unarchive\n\nOrders\nList Orders\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/orders\n\nGet Order\nGET /clickfunnels/api/v2/orders/{order_id}\n\nUpdate Order\nPUT /clickfunnels/api/v2/orders/{order_id}\nContent-Type: application/json\n\n{\n  \"order\": {\n    \"notes\": \"Updated order notes\"\n  }\n}\n\nFulfillments\nList Fulfillments\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/fulfillments\n\nGet Fulfillment\nGET /clickfunnels/api/v2/fulfillments/{fulfillment_id}\n\nCreate Fulfillment\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/fulfillments\nContent-Type: application/json\n\n{\n  \"fulfillment\": {\n    \"contact_id\": 1087091674,\n    \"location_id\": 12345,\n    \"tracking_url\": \"https://tracking.example.com/123\",\n    \"shipping_provider\": \"ups\",\n    \"tracking_code\": \"1Z999AA10123456784\",\n    \"notify_customer\": true\n  }\n}\n\nCancel Fulfillment\nPOST /clickfunnels/api/v2/fulfillments/{fulfillment_id}/cancel\n\nCourses\nList Courses\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/courses\n\nGet Course\nGET /clickfunnels/api/v2/courses/{course_id}\n\nEnrollments\nList Enrollments\nGET /clickfunnels/api/v2/courses/{course_id}/enrollments\n\nCreate Enrollment\nPOST /clickfunnels/api/v2/courses/{course_id}/enrollments\nContent-Type: application/json\n\n{\n  \"courses_enrollment\": {\n    \"contact_id\": 1087091674\n  }\n}\n\nUpdate Enrollment\nPUT /clickfunnels/api/v2/courses/{course_id}/enrollments/{enrollment_id}\nContent-Type: application/json\n\n{\n  \"courses_enrollment\": {\n    \"suspended\": true,\n    \"suspension_reason\": \"Payment failed\"\n  }\n}\n\nForms\nList Forms\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/forms\n\n\nResponse:\n\n[\n  {\n    \"id\": 442896,\n    \"public_id\": \"NdOxzL\",\n    \"workspace_id\": 435231,\n    \"name\": \"Contact Form\",\n    \"created_at\": \"2026-02-07T09:28:33.316Z\",\n    \"updated_at\": \"2026-02-07T09:28:33.316Z\"\n  }\n]\n\nGet Form\nGET /clickfunnels/api/v2/forms/{form_id}\n\nList Form Submissions\nGET /clickfunnels/api/v2/forms/{form_id}/submissions\n\nImages\nList Images\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/images\n\n\nResponse:\n\n[\n  {\n    \"id\": 20670308,\n    \"public_id\": \"mvvWWM\",\n    \"url\": \"https://statics.myclickfunnels.com/workspace/JZqWGb/image/20670308/file/image.png\",\n    \"workspace_id\": 435231,\n    \"alt_text\": null,\n    \"name\": null,\n    \"created_at\": \"2026-02-07T09:28:40.102Z\",\n    \"updated_at\": \"2026-02-07T09:29:01.697Z\"\n  }\n]\n\nCreate Image (via URL)\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/images\nContent-Type: application/json\n\n{\n  \"image\": {\n    \"upload_source_url\": \"https://example.com/image.png\"\n  }\n}\n\nWebhooks\nList Webhook Endpoints\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/webhooks/outgoing/endpoints\n\n\nResponse:\n\n[\n  {\n    \"id\": 96677,\n    \"public_id\": \"vBZlEl\",\n    \"workspace_id\": 435231,\n    \"url\": \"https://example.com/webhook\",\n    \"name\": \"My Webhook\",\n    \"event_type_ids\": [\"contact.created\"],\n    \"api_version\": 2,\n    \"webhook_secret\": \"e779d4b2faa7d986...\",\n    \"created_at\": \"2026-02-09T07:23:22.295Z\",\n    \"updated_at\": \"2026-02-09T07:23:22.295Z\"\n  }\n]\n\nCreate Webhook Endpoint\nPOST /clickfunnels/api/v2/workspaces/{workspace_id}/webhooks/outgoing/endpoints\nContent-Type: application/json\n\n{\n  \"webhooks_outgoing_endpoint\": {\n    \"url\": \"https://example.com/webhook\",\n    \"name\": \"New Webhook\",\n    \"event_type_ids\": [\"contact.created\", \"order.created\"]\n  }\n}\n\nGet Webhook Endpoint\nGET /clickfunnels/api/v2/webhooks/outgoing/endpoints/{endpoint_id}\n\nUpdate Webhook Endpoint\nPUT /clickfunnels/api/v2/webhooks/outgoing/endpoints/{endpoint_id}\nContent-Type: application/json\n\n{\n  \"webhooks_outgoing_endpoint\": {\n    \"name\": \"Updated Webhook\",\n    \"event_type_ids\": [\"contact.created\", \"contact.updated\"]\n  }\n}\n\nDelete Webhook Endpoint\nDELETE /clickfunnels/api/v2/webhooks/outgoing/endpoints/{endpoint_id}\n\n\nReturns HTTP 204 on success.\n\nPagination\n\nClickFunnels uses cursor-based pagination. Each list endpoint returns a maximum of 20 items.\n\nUse the after parameter with the ID of the last item to get the next page:\n\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?after=1087091674\n\n\nResponse Headers:\n\nPagination-Next: ID of the last item (use for next page)\nLink: Full URL for the next page\n\nExample pagination flow:\n\n# First page\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/images\n\n# Response header: Pagination-Next: 20670327\n\n# Next page\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/images?after=20670327\n\nFiltering\n\nUse the filter query parameter to filter list results:\n\n# Filter by email\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?filter[email_address]=user@example.com\n\n# Filter by multiple emails (OR)\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?filter[email_address]=user1@example.com,user2@example.com\n\n# Multiple filters (AND)\nGET /clickfunnels/api/v2/workspaces/{workspace_id}/contacts?filter[email_address]=user@example.com&filter[id]=1087091674\n\nCode Examples\nJavaScript\nconst response = await fetch(\n  'https://gateway.maton.ai/clickfunnels/api/v2/teams',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`,\n      'User-Agent': 'Maton/1.0'\n    }\n  }\n);\nconst teams = await response.json();\n\nPython\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/clickfunnels/api/v2/teams',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'User-Agent': 'Maton/1.0'\n    }\n)\nteams = response.json()\n\nCreate Contact Example\nimport os\nimport requests\n\nresponse = requests.post(\n    'https://gateway.maton.ai/clickfunnels/api/v2/workspaces/435231/contacts',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json',\n        'User-Agent': 'Maton/1.0'\n    },\n    json={\n        'contact': {\n            'email_address': 'newuser@example.com',\n            'first_name': 'Jane',\n            'last_name': 'Smith'\n        }\n    }\n)\ncontact = response.json()\n\nNotes\nTeam IDs, workspace IDs, and resource IDs are integers\nEach resource also has a public_id (string) for public-facing URLs\nList endpoints return max 20 items per page by default\nUse after parameter for pagination\nDelete operations return HTTP 204 with empty response\nRequest bodies use nested resource keys (e.g., {\"contact\": {...}})\nImages max size: 10MB, max dimensions: 10,000 x 10,000 pixels\nSupported image formats: JPEG, PNG, WebP, GIF, SVG\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments\nError Handling\nStatus\tMeaning\n400\tMissing ClickFunnels connection\n401\tInvalid or missing Maton API key\n404\tResource not found\n422\tValidation error (check response body)\n429\tRate limited\n4xx/5xx\tPassthrough error from ClickFunnels API\nTroubleshooting: API Key Issues\nCheck that the MATON_API_KEY environment variable is set:\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nTroubleshooting: Invalid App Name\nEnsure your URL path starts with clickfunnels. For example:\nCorrect: https://gateway.maton.ai/clickfunnels/api/v2/teams\nIncorrect: https://gateway.maton.ai/api/v2/teams\nResources\nClickFunnels API Introduction\nClickFunnels API Reference\nPagination Guide\nFiltering Guide\nWebhooks Overview\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/clickfunnels",
    "publisherUrl": "https://clawhub.ai/byungkyu/clickfunnels",
    "owner": "byungkyu",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clickfunnels",
    "downloadUrl": "https://openagent3.xyz/downloads/clickfunnels",
    "agentUrl": "https://openagent3.xyz/skills/clickfunnels/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clickfunnels/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clickfunnels/agent.md"
  }
}