canonical: https://jentic.com/apis/clickfunnels.com/clickfunnels-api

# ClickFunnels API

Jentic publishes the only available OpenAPI specification for ClickFunnels API, keeping it validated and agent-ready. ClickFunnels 2.0 is the rebuilt sales funnel and online business platform, and its REST API exposes 204 endpoints covering contacts, courses, forms, funnels, products, orders, sales pipelines, shipping, and webhooks. The base URL is per-workspace at {subdomain}.myclickfunnels.com/api/v2 and authentication uses a Bearer token. The spec covers the same surface that powers webhooks, native integrations, and Zapier, so anything you can build on those rails you can call directly here.

## For AI agents

Manage ClickFunnels 2.0 contacts, courses, forms, funnels, products, orders, sales pipelines, and webhooks across 204 endpoints from a single Bearer-authenticated API.

## Scope

Does not handle DNS, domain provisioning, or email deliverability infrastructure - use for ClickFunnels 2.0 contacts, courses, forms, products, orders, and pipelines only.

## Capabilities

- Manage contacts and apply or remove tags via `/contacts/{id}` and `/contacts/{contact_id}/applied_tags`
- Build courses with sections, lessons, and lesson completions via /courses, `/courses/sections`, `/courses/lessons`, and `/courses/lesson_completions` endpoints
- Compose forms with field sets, fields, options, submissions, and answers via /forms and /form_submissions endpoints
- List and configure funnels and their tags via /funnels and `/funnels/tags` endpoints
- Manage products, variants, prices, and collections via /products, `/products/variants`, `/products/prices` endpoints
- Process orders, fulfillments, invoices, and transactions via /orders, /fulfillments, and `/orders/transactions` endpoints
- Track sales opportunities through pipeline stages via `/sales/pipelines`, `/sales/pipelines/stages`, and `/sales/opportunities` endpoints

## Use cases

### End-to-End Course Delivery

Build, publish, and operate online courses inside ClickFunnels 2.0 by composing sections and lessons, enrolling contacts, and tracking lesson completions. The /courses, `/courses/sections`, `/courses/lessons`, `/courses/enrollments`, and `/courses/lesson_completions` endpoints together cover authoring, enrolment, and progress tracking from a single API.

Example prompt: Create a course via POST /courses, add a section via `/courses/{course_id}/sections`, then enrol the contact via `/courses/{course_id}/enrollments.`

### Storefront and Order Management

Run a full storefront on ClickFunnels 2.0 by managing products, variants, prices, and collections, then processing orders, transactions, fulfillments, and invoices once a sale completes. The product, order, and fulfillment endpoints together replace separate e-commerce tooling for funnel-led commerce.

Example prompt: Create a product variant via POST `/products/{product_id}/variants` with the price ID, then on a new order create a fulfillment via `/orders/{order_id}/fulfillments.`

### Sales Pipeline Automation

Turn captured leads into revenue by progressing opportunities through sales pipeline stages, attaching notes, and triggering downstream automations on each transition. The `/sales/pipelines`, `/sales/pipelines/stages`, `/sales/opportunities`, and `/sales/opportunities/notes` endpoints support the full sales workflow inside ClickFunnels.

Example prompt: Move opportunity 1234 to a new stage by updating it via PATCH `/sales/opportunities/{id}` and post a note via `/sales/opportunities/{opportunity_id}/notes.`

### Form Capture and Submission Processing

Compose lead-capture forms with field sets, fields, and options, and process submissions and answers with structured access to every response. The /forms, `/forms/field_sets`, `/forms/fields`, `/forms/submissions`, and `/forms/submissions/answers` endpoints give programmatic control over the same forms that power funnels.

Example prompt: Create a form field set via POST `/forms/{form_id}/field_sets`, add fields, and on submission read `/forms/submissions/{submission_id}/answers` to capture each response.

### AI Agent Workflow Orchestration via Jentic

An AI agent that runs marketing operations can move opportunities, tag contacts, fulfil orders, or post webhooks across ClickFunnels 2.0 by searching Jentic for the matching operation. Jentic securely stores the workspace bearer token so the agent only ever holds scoped execution rights, not the raw credential.

Example prompt: Use the Jentic search query 'tag a clickfunnels contact' to find POST `/contacts/{contact_id}/applied_tags` and execute with the contact ID and tag ID.

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/contacts/{contact_id}/applied_tags` | Apply a tag to a contact |
| POST | `/courses/{course_id}/enrollments` | Enrol a contact in a course |
| POST | `/forms/submissions/{submission_id}/answers` | Capture answers to a form submission |
| POST | `/products/{product_id}/variants` | Create a product variant |
| POST | `/orders/{order_id}/fulfillments` | Create a fulfillment for an order |
| PATCH | `/sales/opportunities/{id}` | Update a sales opportunity |
| POST | `/webhooks/outgoing/endpoints` | Subscribe to outgoing webhook events |

## Key resources

- **Contacts** — Manage contacts and applied tags
- **Courses** — Compose courses with sections, lessons, enrollments, and completion tracking
- **Forms** — Build forms with field sets, fields, and process submissions and answers
- **Funnels** — Manage funnels and their tags
- **Products** — Manage products, variants, prices, and collections
- **Orders** — Process orders, applied tags, invoices, transactions, and restocks
- **Sales Pipelines** — Move opportunities through pipeline stages and attach notes
- **Shipping** — Configure shipping zones, rates, profiles, and packages
- **Webhooks** — Subscribe to outgoing webhook events

## Why Jentic

- **Setup:** Wiring the ClickFunnels API by hand means managing a workspace bearer token, resolving your own {subdomain}.myclickfunnels.com host, and mapping the right call across contacts, courses, forms, products, orders, and pipelines. Through Jentic you install once, import the ClickFunnels API from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** ClickFunnels 2.0 puts resource ids in the URL path (`/contacts/{contact_id}/applied_tags`, `/courses/{course_id}/enrollments`, `/orders/{order_id}/fulfillments`), so a rule can pin your agent to one course and its enrollments. You choose the operations it may call, so writes like creating order fulfillments are not included unless you add them.
- **Credential handling:** Your ClickFunnels 2.0 workspace bearer token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'apply a tag to a contact' or 'enrol a contact in a course', and Jentic returns the matching ClickFunnels operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **ClickFunnels Classic** — Original ClickFunnels 1.0 API with 11 endpoints for contacts, funnels, purchases, and webhooks
- **Shopify** — E-commerce platform with full catalogue, order, and fulfilment APIs
- **HubSpot** — CRM and marketing automation platform

## FAQ

### Why is there no official OpenAPI spec for ClickFunnels API?

ClickFunnels does not publish an OpenAPI specification for the 2.0 platform. Jentic generates and maintains this spec so that AI agents and developers can call ClickFunnels API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

### What authentication does the ClickFunnels API use?

The API uses a Bearer token in the Authorization header, scoped to a specific workspace at {subdomain}.myclickfunnels.com. Through Jentic the workspace bearer token is stored in the encrypted vault and the agent receives only a scoped execution context.

### Can I enrol a contact in a course and track lesson completion?

Yes. POST to `/courses/{course_id}/enrollments` with the contact ID, then create a lesson completion via `/courses/{course_id}/lesson_completions` when the contact finishes a lesson.

### Can I manage product variants and prices via the API?

Yes. `/products/{product_id}/variants` creates variants, `/products/{product_id}/prices` manages pricing, and `/products/collections` groups products into collections for storefront merchandising.

### How do I tag a ClickFunnels contact through Jentic?

Search Jentic for 'tag a clickfunnels contact', load the schema for POST `/contacts/{contact_id}/applied_tags`, and execute with the contact and tag IDs. The Python SDK uses await client.search, await client.load, await client.execute.

### What is the base URL pattern for ClickFunnels API requests?

Requests go to https://{subdomain}.myclickfunnels.com/api/v2 where {subdomain} is the workspace identifier. The bearer token is scoped to that workspace, so cross-workspace calls require separate credentials.

### Can I limit what my agent is allowed to do with the ClickFunnels API?

Yes. Jentic One is self-hosted, so your own rules decide which ClickFunnels 2.0 operations and which workspace credentials the agent may use. Because ClickFunnels puts resource IDs in the URL path, such as `/contacts/{contact_id}/applied_tags`, `/courses/{course_id}/enrollments`, and `/orders/{order_id}/fulfillments`, you can pin the agent to a single course and its enrollments or a single contact. You choose the operations it may call, so write actions like creating order fulfillments are excluded unless you explicitly add them.
