Use the Actively CLI from KosmoKrator to call Actively tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Actively can be configured headlessly with `kosmokrator integrations:configure actively`.
# 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 actively --set access_token="$ACTIVELY_ACCESS_TOKEN" --enable --read allow --write ask --jsonkosmokrator integrations:doctor actively --jsonkosmokrator integrations:status --json
Credentials
Authentication type: Bearer tokenbearer_token. 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
access_token
ACTIVELY_ACCESS_TOKEN
Secret secret
yes
Access Token
url
ACTIVELY_URL
URL url
no
API Base URL
Call Actively 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 Actively.
actively.actively_list_organizations
Read read
List organizations you have access to in Actively. Returns organization names and UUIDs needed for campaign and contact operations. Paginate with limit and page parameters.
List campaigns for an organization in Actively. Returns campaign details including title, type, status, and date range. Paginate with limit and page parameters.
List contacts for an organization in Actively. Returns contact details including name, email, phone, and any associated metadata. Paginate with limit and page parameters.
Use these parameter tables when building CLI payloads without calling integrations:schema first.
actively.actively_list_organizations
List organizations you have access to in Actively. Returns organization names and UUIDs needed for campaign and contact operations. Paginate with limit and page parameters.
List campaigns for an organization in Actively. Returns campaign details including title, type, status, and date range. Paginate with limit and page parameters.
The campaign type (e.g., "email", "social", "ads").
start_date
string
yes
Campaign start date in ISO 8601 format (e.g., "2026-01-01").
end_date
string
yes
Campaign end date in ISO 8601 format (e.g., "2026-03-31").
actively.actively_list_contacts
List contacts for an organization in Actively. Returns contact details including name, email, phone, and any associated metadata. Paginate with limit and page parameters.
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.