Copper CRM CLI Setup Copper CRM can be configured headlessly with `kosmokrator integrations:configure copper`.
# 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 copper --set api_key=" $COPPER_API_KEY " --set email=" $COPPER_EMAIL " --enable --read allow --write ask --json
kosmokrator integrations:doctor copper --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.
Call Copper CRM Headlessly Use the generic call form when another coding CLI or script needs a stable universal interface.
kosmo integrations:call copper.copper_list_contacts '{
"page_size": 1,
"sort_by": "example_sort_by"
}' --json Use the provider shortcut form for shorter human-facing commands.
kosmo integrations:copper copper_list_contacts '{
"page_size": 1,
"sort_by": "example_sort_by"
}' --json Agent Discovery Commands
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs copper --json
kosmo integrations:docs copper.copper_list_contacts --json
kosmo integrations:schema copper.copper_list_contacts --json
kosmo integrations:search "Copper CRM" --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 Copper CRM.
copper.copper_list_contacts Read read Search and list contacts in Copper CRM. Returns contact names, emails, and IDs.
page_size, sort_by kosmo integrations:call copper.copper_list_contacts '{"page_size":1,"sort_by":"example_sort_by"}' --json copy kosmo integrations:copper copper_list_contacts '{"page_size":1,"sort_by":"example_sort_by"}' --json copy
copper.copper_get_contact Read read Get details of a specific contact in Copper CRM by ID.
id kosmo integrations:call copper.copper_get_contact '{"id":1}' --json copy kosmo integrations:copper copper_get_contact '{"id":1}' --json copy
copper.copper_create_contact Write write Create a new contact in Copper CRM. Provide at least a name.
name, email kosmo integrations:call copper.copper_create_contact '{"name":"example_name","email":"example_email"}' --json copy kosmo integrations:copper copper_create_contact '{"name":"example_name","email":"example_email"}' --json copy
copper.copper_update_contact Write write Update an existing contact in Copper CRM. Only the fields provided will be updated.
id, name, email kosmo integrations:call copper.copper_update_contact '{"id":1,"name":"example_name","email":"example_email"}' --json copy kosmo integrations:copper copper_update_contact '{"id":1,"name":"example_name","email":"example_email"}' --json copy
copper.copper_delete_contact Write write Delete a contact from Copper CRM. This action cannot be undone.
id kosmo integrations:call copper.copper_delete_contact '{"id":1}' --json copy kosmo integrations:copper copper_delete_contact '{"id":1}' --json copy
copper.copper_list_companies Read read Search and list companies in Copper CRM. Returns company names, domains, and IDs.
page_size, sort_by kosmo integrations:call copper.copper_list_companies '{"page_size":1,"sort_by":"example_sort_by"}' --json copy kosmo integrations:copper copper_list_companies '{"page_size":1,"sort_by":"example_sort_by"}' --json copy
copper.copper_get_company Read read Get details of a specific company in Copper CRM by ID.
id kosmo integrations:call copper.copper_get_company '{"id":1}' --json copy kosmo integrations:copper copper_get_company '{"id":1}' --json copy
copper.copper_create_company Write write Create a new company in Copper CRM.
name kosmo integrations:call copper.copper_create_company '{"name":"example_name"}' --json copy kosmo integrations:copper copper_create_company '{"name":"example_name"}' --json copy
copper.copper_list_opportunities Read read Search and list opportunities (deals) in Copper CRM. Returns opportunity names, values, stages, and IDs.
page_size, sort_by kosmo integrations:call copper.copper_list_opportunities '{"page_size":1,"sort_by":"example_sort_by"}' --json copy kosmo integrations:copper copper_list_opportunities '{"page_size":1,"sort_by":"example_sort_by"}' --json copy
copper.copper_get_opportunity Read read Get details of a specific opportunity (deal) in Copper CRM by ID.
id kosmo integrations:call copper.copper_get_opportunity '{"id":1}' --json copy kosmo integrations:copper copper_get_opportunity '{"id":1}' --json copy
copper.copper_create_opportunity Write write Create a new opportunity (deal) in Copper CRM. Provide a name and pipeline ID. Use copper_list_pipelines first to find available pipeline IDs.
name, pipeline_id kosmo integrations:call copper.copper_create_opportunity '{"name":"example_name","pipeline_id":1}' --json copy kosmo integrations:copper copper_create_opportunity '{"name":"example_name","pipeline_id":1}' --json copy
copper.copper_list_pipelines Read read List all sales pipelines in Copper CRM. Each pipeline contains stages that opportunities move through.
none kosmo integrations:call copper.copper_list_pipelines '{}' --json copy kosmo integrations:copper copper_list_pipelines '{}' --json copy
copper.copper_get_current_user Read read Get the currently authenticated Copper CRM user. Useful for verifying the connection and account context.
none kosmo integrations:call copper.copper_get_current_user '{}' --json copy kosmo integrations:copper copper_get_current_user '{}' --json copy Function Schemas Use these parameter tables when building CLI payloads without calling integrations:schema first.
Operation Read read
Schema command kosmo integrations:schema copper.copper_list_contacts --json
Operation Read read
Schema command kosmo integrations:schema copper.copper_get_contact --json
Operation Write write
Schema command kosmo integrations:schema copper.copper_create_contact --json
Operation Write write
Schema command kosmo integrations:schema copper.copper_update_contact --json
Operation Write write
Schema command kosmo integrations:schema copper.copper_delete_contact --json
Operation Read read
Schema command kosmo integrations:schema copper.copper_list_companies --json
Operation Read read
Schema command kosmo integrations:schema copper.copper_get_company --json
Operation Write write
Schema command kosmo integrations:schema copper.copper_create_company --json
Operation Read read
Schema command kosmo integrations:schema copper.copper_list_opportunities --json
Operation Read read
Schema command kosmo integrations:schema copper.copper_get_opportunity --json
Operation Write write
Schema command kosmo integrations:schema copper.copper_create_opportunity --json
Operation Read read
Schema command kosmo integrations:schema copper.copper_list_pipelines --json
Operation Read read
Schema command kosmo integrations:schema copper.copper_get_current_user --json 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.