KosmoKrator

sales

Lasso CRM CLI for AI Agents

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

7 functions 6 read 1 write API token auth

Lasso CRM CLI Setup

Lasso CRM can be configured headlessly with `kosmokrator integrations:configure lasso`.

# 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 lasso --set token="$LASSO_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor lasso --json
kosmokrator integrations:status --json

Credentials

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

KeyEnv varTypeRequiredLabel
token LASSO_TOKEN Secret secret yes API Token
url LASSO_URL URL url no API Base URL

Call Lasso CRM Headlessly

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

kosmo integrations:call lasso.lasso_list_contacts '{
  "project_id": "example_project_id",
  "limit": 1,
  "page": 1
}' --json

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

kosmo integrations:lasso lasso_list_contacts '{
  "project_id": "example_project_id",
  "limit": 1,
  "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 lasso --json
kosmo integrations:docs lasso.lasso_list_contacts --json
kosmo integrations:schema lasso.lasso_list_contacts --json
kosmo integrations:search "Lasso 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 Lasso CRM.

lasso.lasso_list_contacts

Read read

List contacts (registrants) in Lasso CRM. Optionally filter by project ID or other criteria. Supports pagination.

Parameters
project_id, limit, page

Generic CLI call

kosmo integrations:call lasso.lasso_list_contacts '{"project_id":"example_project_id","limit":1,"page":1}' --json

Provider shortcut

kosmo integrations:lasso lasso_list_contacts '{"project_id":"example_project_id","limit":1,"page":1}' --json

lasso.lasso_get_contact

Read read

Get full details for a single contact (registrant) in Lasso CRM, including emails, phone numbers, and associated information.

Parameters
id

Generic CLI call

kosmo integrations:call lasso.lasso_get_contact '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:lasso lasso_get_contact '{"id":"example_id"}' --json

lasso.lasso_create_contact

Write write

Create a new contact (registrant) in Lasso CRM. Provide at least a first name or last name, and optionally email, phone, and other details.

Parameters
first_name, last_name, email, phone, project_id, source, notes

Generic CLI call

kosmo integrations:call lasso.lasso_create_contact '{"first_name":"example_first_name","last_name":"example_last_name","email":"example_email","phone":"example_phone","project_id":"example_project_id","source":"example_source","notes":"example_notes"}' --json

Provider shortcut

kosmo integrations:lasso lasso_create_contact '{"first_name":"example_first_name","last_name":"example_last_name","email":"example_email","phone":"example_phone","project_id":"example_project_id","source":"example_source","notes":"example_notes"}' --json

lasso.lasso_list_deals

Read read

List deals (sales) in Lasso CRM. Optionally filter by project ID or status. Supports pagination.

Parameters
project_id, status, limit, page

Generic CLI call

kosmo integrations:call lasso.lasso_list_deals '{"project_id":"example_project_id","status":"example_status","limit":1,"page":1}' --json

Provider shortcut

kosmo integrations:lasso lasso_list_deals '{"project_id":"example_project_id","status":"example_status","limit":1,"page":1}' --json

lasso.lasso_get_deal

Read read

Get full details for a single deal (sale) in Lasso CRM, including pricing, unit details, and associated contacts.

Parameters
id

Generic CLI call

kosmo integrations:call lasso.lasso_get_deal '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:lasso lasso_get_deal '{"id":"example_id"}' --json

lasso.lasso_list_inventory

Read read

List available inventory (units/lots) in Lasso CRM. Optionally filter by project ID or status. Supports pagination.

Parameters
project_id, status, limit, page

Generic CLI call

kosmo integrations:call lasso.lasso_list_inventory '{"project_id":"example_project_id","status":"example_status","limit":1,"page":1}' --json

Provider shortcut

kosmo integrations:lasso lasso_list_inventory '{"project_id":"example_project_id","status":"example_status","limit":1,"page":1}' --json

lasso.lasso_get_current_user

Read read

Get the profile of the currently authenticated Lasso CRM user — name, email, organization, and other account details.

Parameters
none

Generic CLI call

kosmo integrations:call lasso.lasso_get_current_user '{}' --json

Provider shortcut

kosmo integrations:lasso lasso_get_current_user '{}' --json

Function Schemas

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

lasso.lasso_list_contacts

List contacts (registrants) in Lasso CRM. Optionally filter by project ID or other criteria. Supports pagination.

Operation
Read read
Schema command
kosmo integrations:schema lasso.lasso_list_contacts --json
ParameterTypeRequiredDescription
project_id string no Filter contacts by project ID.
limit integer no Maximum number of contacts to return (default: 25).
page integer no Page number for pagination.

lasso.lasso_get_contact

Get full details for a single contact (registrant) in Lasso CRM, including emails, phone numbers, and associated information.

Operation
Read read
Schema command
kosmo integrations:schema lasso.lasso_get_contact --json
ParameterTypeRequiredDescription
id string yes The contact ID.

lasso.lasso_create_contact

Create a new contact (registrant) in Lasso CRM. Provide at least a first name or last name, and optionally email, phone, and other details.

Operation
Write write
Schema command
kosmo integrations:schema lasso.lasso_create_contact --json
ParameterTypeRequiredDescription
first_name string no Contact first name.
last_name string no Contact last name.
email string no Primary email address.
phone string no Primary phone number.
project_id string no Project ID to associate the contact with.
source string no Lead source (e.g., "Website", "Referral").
notes string no Notes about the contact.

lasso.lasso_list_deals

List deals (sales) in Lasso CRM. Optionally filter by project ID or status. Supports pagination.

Operation
Read read
Schema command
kosmo integrations:schema lasso.lasso_list_deals --json
ParameterTypeRequiredDescription
project_id string no Filter deals by project ID.
status string no Filter by deal status.
limit integer no Maximum number of deals to return (default: 25).
page integer no Page number for pagination.

lasso.lasso_get_deal

Get full details for a single deal (sale) in Lasso CRM, including pricing, unit details, and associated contacts.

Operation
Read read
Schema command
kosmo integrations:schema lasso.lasso_get_deal --json
ParameterTypeRequiredDescription
id string yes The deal ID.

lasso.lasso_list_inventory

List available inventory (units/lots) in Lasso CRM. Optionally filter by project ID or status. Supports pagination.

Operation
Read read
Schema command
kosmo integrations:schema lasso.lasso_list_inventory --json
ParameterTypeRequiredDescription
project_id string no Filter inventory by project ID.
status string no Filter by inventory status (e.g., "Available", "Sold", "Reserved").
limit integer no Maximum number of inventory items to return (default: 25).
page integer no Page number for pagination.

lasso.lasso_get_current_user

Get the profile of the currently authenticated Lasso CRM user — name, email, organization, and other account details.

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