Use the ChurnZero CLI from KosmoKrator to call ChurnZero tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
ChurnZero can be configured headlessly with `kosmokrator integrations:configure churnzero`.
# 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 churnzero --set api_key="$CHURNZERO_API_KEY" --enable --read allow --write ask --jsonkosmokrator integrations:doctor churnzero --jsonkosmokrator integrations:status --json
Credentials
Authentication type: API keyapi_key. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
api_key
CHURNZERO_API_KEY
Secret secret
yes
API Key
url
CHURNZERO_URL
URL url
no
API Base URL
Call ChurnZero Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to ChurnZero.
churnzero.churnzero_list_accounts
Read read
Search and list accounts in ChurnZero. Use the search parameter to filter accounts by name or other attributes. Returns a paginated list of accounts with their details.
List contacts in ChurnZero. Optionally filter by account ID to get contacts for a specific account, or use search to find contacts by name or email. Supports pagination.
List alerts in ChurnZero — risk signals, usage drops, renewal reminders, and other notifications. Filter by account ID or alert status. Supports pagination.
List usage data in ChurnZero — track how customers engage with your product features. Filter by account ID or specific feature/module name. Supports pagination.
Use these parameter tables when building CLI payloads without calling integrations:schema first.
churnzero.churnzero_list_accounts
Search and list accounts in ChurnZero. Use the search parameter to filter accounts by name or other attributes. Returns a paginated list of accounts with their details.
List contacts in ChurnZero. Optionally filter by account ID to get contacts for a specific account, or use search to find contacts by name or email. Supports pagination.
List alerts in ChurnZero — risk signals, usage drops, renewal reminders, and other notifications. Filter by account ID or alert status. Supports pagination.
Filter by alert status. Common values: "open", "dismissed", "snoozed".
page
integer
no
Page number for pagination (default: 1).
perPage
integer
no
Number of results per page (default: 25, max: 100).
churnzero.churnzero_list_usage
List usage data in ChurnZero — track how customers engage with your product features. Filter by account ID or specific feature/module name. Supports pagination.
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.