KosmoKrator

marketing

Drip CLI for AI Agents

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

7 functions 7 read 0 write API key auth

Drip CLI Setup

Drip can be configured headlessly with `kosmokrator integrations:configure drip`.

# 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 drip --set api_key="$DRIP_API_KEY" --set account_id="$DRIP_ACCOUNT_ID" --enable --read allow --write ask --json
kosmokrator integrations:doctor drip --json
kosmokrator integrations:status --json

Credentials

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

KeyEnv varTypeRequiredLabel
api_key DRIP_API_KEY Secret secret yes API Key
account_id DRIP_ACCOUNT_ID Text string yes Account ID
url DRIP_URL URL url no Drip API URL

Call Drip Headlessly

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

kosmo integrations:call drip.drip_list_campaigns '{
  "page": 1,
  "per_page": 1
}' --json

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

kosmo integrations:drip drip_list_campaigns '{
  "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 drip --json
kosmo integrations:docs drip.drip_list_campaigns --json
kosmo integrations:schema drip.drip_list_campaigns --json
kosmo integrations:search "Drip" --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 Drip.

drip.drip_list_campaigns

Read read

List email campaigns in your Drip account. Returns campaign details including name, status, and configuration. Paginated — use page and per_page parameters to navigate results.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call drip.drip_list_campaigns '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:drip drip_list_campaigns '{"page":1,"per_page":1}' --json

drip.drip_get_campaign

Read read

Fetch a single email campaign from Drip by its campaign ID. Returns full campaign details including name, status, configuration, and associated actions.

Parameters
id

Generic CLI call

kosmo integrations:call drip.drip_get_campaign '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:drip drip_get_campaign '{"id":"example_id"}' --json

drip.drip_list_subscribers

Read read

List subscribers in your Drip account. Returns subscriber records including email, status, tags, and custom fields. Paginated — use page and per_page parameters to navigate results.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call drip.drip_list_subscribers '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:drip drip_list_subscribers '{"page":1,"per_page":1}' --json

drip.drip_get_subscriber

Read read

Fetch a single subscriber from Drip by their subscriber ID or email address. Returns full subscriber details including status, tags, custom fields, and subscription information.

Parameters
id

Generic CLI call

kosmo integrations:call drip.drip_get_subscriber '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:drip drip_get_subscriber '{"id":"example_id"}' --json

drip.drip_list_workflows

Read read

List workflows in your Drip account. Returns workflow details including name, status, and trigger configuration. Paginated — use page and per_page parameters to navigate results.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call drip.drip_list_workflows '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:drip drip_list_workflows '{"page":1,"per_page":1}' --json

drip.drip_get_workflow

Read read

Fetch a single workflow from Drip by its workflow ID. Returns full workflow details including name, status, trigger configuration, and associated actions.

Parameters
id

Generic CLI call

kosmo integrations:call drip.drip_get_workflow '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:drip drip_get_workflow '{"id":"example_id"}' --json

drip.drip_get_current_user

Read read

Get the currently authenticated Drip user. Returns user profile information including name, email, and account details. Useful for verifying the API connection and identifying which account is active.

Parameters
none

Generic CLI call

kosmo integrations:call drip.drip_get_current_user '{}' --json

Provider shortcut

kosmo integrations:drip drip_get_current_user '{}' --json

Function Schemas

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

drip.drip_list_campaigns

List email campaigns in your Drip account. Returns campaign details including name, status, and configuration. Paginated — use page and per_page parameters to navigate results.

Operation
Read read
Schema command
kosmo integrations:schema drip.drip_list_campaigns --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of results per page, max 1000 (default: 100).

drip.drip_get_campaign

Fetch a single email campaign from Drip by its campaign ID. Returns full campaign details including name, status, configuration, and associated actions.

Operation
Read read
Schema command
kosmo integrations:schema drip.drip_get_campaign --json
ParameterTypeRequiredDescription
id string yes The campaign ID.

drip.drip_list_subscribers

List subscribers in your Drip account. Returns subscriber records including email, status, tags, and custom fields. Paginated — use page and per_page parameters to navigate results.

Operation
Read read
Schema command
kosmo integrations:schema drip.drip_list_subscribers --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of results per page, max 1000 (default: 100).

drip.drip_get_subscriber

Fetch a single subscriber from Drip by their subscriber ID or email address. Returns full subscriber details including status, tags, custom fields, and subscription information.

Operation
Read read
Schema command
kosmo integrations:schema drip.drip_get_subscriber --json
ParameterTypeRequiredDescription
id string yes The subscriber ID or email address.

drip.drip_list_workflows

List workflows in your Drip account. Returns workflow details including name, status, and trigger configuration. Paginated — use page and per_page parameters to navigate results.

Operation
Read read
Schema command
kosmo integrations:schema drip.drip_list_workflows --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of results per page, max 1000 (default: 100).

drip.drip_get_workflow

Fetch a single workflow from Drip by its workflow ID. Returns full workflow details including name, status, trigger configuration, and associated actions.

Operation
Read read
Schema command
kosmo integrations:schema drip.drip_get_workflow --json
ParameterTypeRequiredDescription
id string yes The workflow ID.

drip.drip_get_current_user

Get the currently authenticated Drip user. Returns user profile information including name, email, and account details. Useful for verifying the API connection and identifying which account is active.

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