KosmoKrator

productivity

Kajabi CLI for AI Agents

Use the Kajabi CLI from KosmoKrator to call Kajabi tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 7 read 0 write Bearer token auth

Kajabi CLI Setup

Kajabi can be configured headlessly with `kosmokrator integrations:configure kajabi`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure kajabi --set access_token="$KAJABI_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor kajabi --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token KAJABI_ACCESS_TOKEN Secret secret yes Access Token
url KAJABI_URL URL url no API Base URL

Call Kajabi Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call kajabi.kajabi_list_offers '{
  "page": 1,
  "per_page": 1
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:kajabi kajabi_list_offers '{
  "page": 1,
  "per_page": 1
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs kajabi --json
kosmo integrations:docs kajabi.kajabi_list_offers --json
kosmo integrations:schema kajabi.kajabi_list_offers --json
kosmo integrations:search "Kajabi" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Kajabi.

kajabi.kajabi_list_offers

Read read

List all offers in your Kajabi account. Returns offer names, IDs, prices, and associated products.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call kajabi.kajabi_list_offers '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:kajabi kajabi_list_offers '{"page":1,"per_page":1}' --json

kajabi.kajabi_get_offer

Read read

Get detailed information about a single Kajabi offer by its ID. Returns full offer data including title, price, and associated product details.

Parameters
offer_id

Generic CLI call

kosmo integrations:call kajabi.kajabi_get_offer '{"offer_id":"example_offer_id"}' --json

Provider shortcut

kosmo integrations:kajabi kajabi_get_offer '{"offer_id":"example_offer_id"}' --json

kajabi.kajabi_list_products

Read read

List all products (courses, coaching programs, memberships) in your Kajabi account. Returns product names, IDs, types, and metadata.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call kajabi.kajabi_list_products '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:kajabi kajabi_list_products '{"page":1,"per_page":1}' --json

kajabi.kajabi_get_product

Read read

Get detailed information about a single Kajabi product by its ID. Returns full product data including description, pricing, and content details.

Parameters
product_id

Generic CLI call

kosmo integrations:call kajabi.kajabi_get_product '{"product_id":"example_product_id"}' --json

Provider shortcut

kosmo integrations:kajabi kajabi_get_product '{"product_id":"example_product_id"}' --json

kajabi.kajabi_list_members

Read read

List all members in your Kajabi account. Returns member names, emails, status, and enrollment details.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call kajabi.kajabi_list_members '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:kajabi kajabi_list_members '{"page":1,"per_page":1}' --json

kajabi.kajabi_get_member

Read read

Get detailed information about a single Kajabi member by their ID. Returns member profile, email, status, and enrollment details.

Parameters
member_id

Generic CLI call

kosmo integrations:call kajabi.kajabi_get_member '{"member_id":"example_member_id"}' --json

Provider shortcut

kosmo integrations:kajabi kajabi_get_member '{"member_id":"example_member_id"}' --json

kajabi.kajabi_get_current_user

Read read

Get the profile of the currently authenticated Kajabi user. Useful to verify the connection and see account details.

Parameters
none

Generic CLI call

kosmo integrations:call kajabi.kajabi_get_current_user '{}' --json

Provider shortcut

kosmo integrations:kajabi kajabi_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

kajabi.kajabi_list_offers

List all offers in your Kajabi account. Returns offer names, IDs, prices, and associated products.

Operation
Read read
Schema command
kosmo integrations:schema kajabi.kajabi_list_offers --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of results per page (default: 25).

kajabi.kajabi_get_offer

Get detailed information about a single Kajabi offer by its ID. Returns full offer data including title, price, and associated product details.

Operation
Read read
Schema command
kosmo integrations:schema kajabi.kajabi_get_offer --json
ParameterTypeRequiredDescription
offer_id string yes The ID of the offer to retrieve.

kajabi.kajabi_list_products

List all products (courses, coaching programs, memberships) in your Kajabi account. Returns product names, IDs, types, and metadata.

Operation
Read read
Schema command
kosmo integrations:schema kajabi.kajabi_list_products --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of results per page (default: 25).

kajabi.kajabi_get_product

Get detailed information about a single Kajabi product by its ID. Returns full product data including description, pricing, and content details.

Operation
Read read
Schema command
kosmo integrations:schema kajabi.kajabi_get_product --json
ParameterTypeRequiredDescription
product_id string yes The ID of the product to retrieve.

kajabi.kajabi_list_members

List all members in your Kajabi account. Returns member names, emails, status, and enrollment details.

Operation
Read read
Schema command
kosmo integrations:schema kajabi.kajabi_list_members --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of results per page (default: 25).

kajabi.kajabi_get_member

Get detailed information about a single Kajabi member by their ID. Returns member profile, email, status, and enrollment details.

Operation
Read read
Schema command
kosmo integrations:schema kajabi.kajabi_get_member --json
ParameterTypeRequiredDescription
member_id string yes The ID of the member to retrieve.

kajabi.kajabi_get_current_user

Get the profile of the currently authenticated Kajabi user. Useful to verify the connection and see account details.

Operation
Read read
Schema command
kosmo integrations:schema kajabi.kajabi_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.