KosmoKrator

productivity

Podia CLI for AI Agents

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

7 functions 7 read 0 write Bearer token auth

Podia CLI Setup

Podia can be configured headlessly with `kosmokrator integrations:configure podia`.

# 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 podia --set access_token="$PODIA_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor podia --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 PODIA_ACCESS_TOKEN Secret secret yes Access Token
url PODIA_URL URL url no API Base URL

Call Podia Headlessly

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

kosmo integrations:call podia.podia_list_products '{}' --json

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

kosmo integrations:podia podia_list_products '{}' --json

Agent Discovery Commands

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

kosmo integrations:docs podia --json
kosmo integrations:docs podia.podia_list_products --json
kosmo integrations:schema podia.podia_list_products --json
kosmo integrations:search "Podia" --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 Podia.

podia.podia_list_products

Read read

List all online courses and digital downloads in your Podia account. Returns product names, IDs, types, and metadata.

Parameters
none

Generic CLI call

kosmo integrations:call podia.podia_list_products '{}' --json

Provider shortcut

kosmo integrations:podia podia_list_products '{}' --json

podia.podia_get_product

Read read

Get detailed information about a single Podia product by its ID. Returns full product data including description, price, type (course or download), and purchase URL.

Parameters
product_id

Generic CLI call

kosmo integrations:call podia.podia_get_product '{"product_id":"example_product_id"}' --json

Provider shortcut

kosmo integrations:podia podia_get_product '{"product_id":"example_product_id"}' --json

podia.podia_list_customers

Read read

List all customers in your Podia account. Returns customer names, emails, and purchase history summaries.

Parameters
page

Generic CLI call

kosmo integrations:call podia.podia_list_customers '{"page":1}' --json

Provider shortcut

kosmo integrations:podia podia_list_customers '{"page":1}' --json

podia.podia_get_customer

Read read

Get detailed information about a single Podia customer by their ID. Returns customer status, email, and purchase details.

Parameters
customer_id

Generic CLI call

kosmo integrations:call podia.podia_get_customer '{"customer_id":"example_customer_id"}' --json

Provider shortcut

kosmo integrations:podia podia_get_customer '{"customer_id":"example_customer_id"}' --json

podia.podia_list_sales

Read read

List sales from your Podia account. Optionally filter by product ID, date range, or page. Returns sale details including buyer info, amount, and product.

Parameters
product_id, before, after, page

Generic CLI call

kosmo integrations:call podia.podia_list_sales '{"product_id":"example_product_id","before":"example_before","after":"example_after","page":1}' --json

Provider shortcut

kosmo integrations:podia podia_list_sales '{"product_id":"example_product_id","before":"example_before","after":"example_after","page":1}' --json

podia.podia_get_sale

Read read

Get detailed information about a single Podia sale by its ID. Returns full sale data including buyer details, amount, product, and payment status.

Parameters
sale_id

Generic CLI call

kosmo integrations:call podia.podia_get_sale '{"sale_id":"example_sale_id"}' --json

Provider shortcut

kosmo integrations:podia podia_get_sale '{"sale_id":"example_sale_id"}' --json

podia.podia_get_current_user

Read read

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

Parameters
none

Generic CLI call

kosmo integrations:call podia.podia_get_current_user '{}' --json

Provider shortcut

kosmo integrations:podia podia_get_current_user '{}' --json

Function Schemas

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

podia.podia_list_products

List all online courses and digital downloads in your Podia account. Returns product names, IDs, types, and metadata.

Operation
Read read
Schema command
kosmo integrations:schema podia.podia_list_products --json
ParameterTypeRequiredDescription
No parameters.

podia.podia_get_product

Get detailed information about a single Podia product by its ID. Returns full product data including description, price, type (course or download), and purchase URL.

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

podia.podia_list_customers

List all customers in your Podia account. Returns customer names, emails, and purchase history summaries.

Operation
Read read
Schema command
kosmo integrations:schema podia.podia_list_customers --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).

podia.podia_get_customer

Get detailed information about a single Podia customer by their ID. Returns customer status, email, and purchase details.

Operation
Read read
Schema command
kosmo integrations:schema podia.podia_get_customer --json
ParameterTypeRequiredDescription
customer_id string yes The ID of the customer to retrieve.

podia.podia_list_sales

List sales from your Podia account. Optionally filter by product ID, date range, or page. Returns sale details including buyer info, amount, and product.

Operation
Read read
Schema command
kosmo integrations:schema podia.podia_list_sales --json
ParameterTypeRequiredDescription
product_id string no Filter sales by a specific product ID.
before string no Only return sales before this ISO 8601 timestamp (e.g., "2026-01-01T00:00:00Z").
after string no Only return sales after this ISO 8601 timestamp (e.g., "2026-01-01T00:00:00Z").
page integer no Page number for pagination (default: 1).

podia.podia_get_sale

Get detailed information about a single Podia sale by its ID. Returns full sale data including buyer details, amount, product, and payment status.

Operation
Read read
Schema command
kosmo integrations:schema podia.podia_get_sale --json
ParameterTypeRequiredDescription
sale_id string yes The ID of the sale to retrieve.

podia.podia_get_current_user

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

Operation
Read read
Schema command
kosmo integrations:schema podia.podia_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.