KosmoKrator

productivity

Unbounce CLI for AI Agents

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

Unbounce CLI Setup

Unbounce can be configured headlessly with `kosmokrator integrations:configure unbounce`.

Install, configure, and verify
# 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 unbounce --set access_token="$UNBOUNCE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor unbounce --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
access_token UNBOUNCE_ACCESS_TOKEN Secret secret yes Access Token
url UNBOUNCE_URL URL url no API Base URL

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call unbounce.unbounce_get_api_metadata '{}' --json
Provider shortcut
kosmo integrations:unbounce unbounce_get_api_metadata '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs unbounce --json
kosmo integrations:docs unbounce.unbounce_get_api_metadata --json
kosmo integrations:schema unbounce.unbounce_get_api_metadata --json
kosmo integrations:search "Unbounce" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

unbounce.unbounce_get_api_metadata

Retrieve Unbounce API root metadata and related resource links.

Read read
Parameters
none
Generic call
kosmo integrations:call unbounce.unbounce_get_api_metadata '{}' --json
Shortcut
kosmo integrations:unbounce unbounce_get_api_metadata '{}' --json

unbounce.unbounce_list_accounts

List Unbounce accounts available to the authenticated token.

Read read
Parameters
params
Generic call
kosmo integrations:call unbounce.unbounce_list_accounts '{"params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_accounts '{"params":"example_params"}' --json

unbounce.unbounce_get_account

Get one Unbounce account by ID.

Read read
Parameters
account_id
Generic call
kosmo integrations:call unbounce.unbounce_get_account '{"account_id":"example_account_id"}' --json
Shortcut
kosmo integrations:unbounce unbounce_get_account '{"account_id":"example_account_id"}' --json

unbounce.unbounce_list_sub_accounts

List sub-accounts in Unbounce. Sub-accounts group pages and are useful for organizing landing pages by client, brand, or campaign.

Read read
Parameters
account_id, limit, offset
Generic call
kosmo integrations:call unbounce.unbounce_list_sub_accounts '{"account_id":"example_account_id","limit":1,"offset":1}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_sub_accounts '{"account_id":"example_account_id","limit":1,"offset":1}' --json

unbounce.unbounce_get_sub_account

Get one Unbounce sub-account by ID.

Read read
Parameters
sub_account_id
Generic call
kosmo integrations:call unbounce.unbounce_get_sub_account '{"sub_account_id":"example_sub_account_id"}' --json
Shortcut
kosmo integrations:unbounce unbounce_get_sub_account '{"sub_account_id":"example_sub_account_id"}' --json

unbounce.unbounce_list_pages

List landing pages in Unbounce. Returns page IDs, names, URLs, and metadata. Use this to discover available pages before querying leads or page details.

Read read
Parameters
limit, offset, sort
Generic call
kosmo integrations:call unbounce.unbounce_list_pages '{"limit":1,"offset":1,"sort":"example_sort"}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_pages '{"limit":1,"offset":1,"sort":"example_sort"}' --json

unbounce.unbounce_list_account_pages

List landing pages for a specific Unbounce account.

Read read
Parameters
account_id, params
Generic call
kosmo integrations:call unbounce.unbounce_list_account_pages '{"account_id":"example_account_id","params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_account_pages '{"account_id":"example_account_id","params":"example_params"}' --json

unbounce.unbounce_list_sub_account_pages

List landing pages for a specific Unbounce sub-account.

Read read
Parameters
sub_account_id, params
Generic call
kosmo integrations:call unbounce.unbounce_list_sub_account_pages '{"sub_account_id":"example_sub_account_id","params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_sub_account_pages '{"sub_account_id":"example_sub_account_id","params":"example_params"}' --json

unbounce.unbounce_get_page

Get details of a specific Unbounce landing page by its ID. Returns the page name, URL, variants, conversion rates, and other metadata.

Read read
Parameters
page_id
Generic call
kosmo integrations:call unbounce.unbounce_get_page '{"page_id":"example_page_id"}' --json
Shortcut
kosmo integrations:unbounce unbounce_get_page '{"page_id":"example_page_id"}' --json

unbounce.unbounce_list_page_form_fields

List form fields for an Unbounce page.

Read read
Parameters
page_id
Generic call
kosmo integrations:call unbounce.unbounce_list_page_form_fields '{"page_id":"example_page_id"}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_page_form_fields '{"page_id":"example_page_id"}' --json

unbounce.unbounce_list_leads

List form submissions (leads) for a specific Unbounce landing page. Returns lead data including form field values, submission timestamps, and conversion details.

Read read
Parameters
page_id, limit, offset
Generic call
kosmo integrations:call unbounce.unbounce_list_leads '{"page_id":"example_page_id","limit":1,"offset":1}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_leads '{"page_id":"example_page_id","limit":1,"offset":1}' --json

unbounce.unbounce_get_lead

Get details of a specific Unbounce lead (form submission) by its ID. Returns all submitted form field values, metadata, and conversion information.

Read read
Parameters
lead_id
Generic call
kosmo integrations:call unbounce.unbounce_get_lead '{"lead_id":"example_lead_id"}' --json
Shortcut
kosmo integrations:unbounce unbounce_get_lead '{"lead_id":"example_lead_id"}' --json

unbounce.unbounce_create_lead

Create a lead for an Unbounce page using the official lead payload.

Write write
Parameters
page_id, payload
Generic call
kosmo integrations:call unbounce.unbounce_create_lead '{"page_id":"example_page_id","payload":"example_payload"}' --json
Shortcut
kosmo integrations:unbounce unbounce_create_lead '{"page_id":"example_page_id","payload":"example_payload"}' --json

unbounce.unbounce_create_lead_deletion_request

Create a lead deletion request for an Unbounce page.

Write write
Parameters
page_id, payload
Generic call
kosmo integrations:call unbounce.unbounce_create_lead_deletion_request '{"page_id":"example_page_id","payload":"example_payload"}' --json
Shortcut
kosmo integrations:unbounce unbounce_create_lead_deletion_request '{"page_id":"example_page_id","payload":"example_payload"}' --json

unbounce.unbounce_get_lead_deletion_request

Get a lead deletion request by page and request ID.

Read read
Parameters
page_id, lead_deletion_request_id
Generic call
kosmo integrations:call unbounce.unbounce_get_lead_deletion_request '{"page_id":"example_page_id","lead_deletion_request_id":"example_lead_deletion_request_id"}' --json
Shortcut
kosmo integrations:unbounce unbounce_get_lead_deletion_request '{"page_id":"example_page_id","lead_deletion_request_id":"example_lead_deletion_request_id"}' --json

unbounce.unbounce_list_domains

List domains for an Unbounce sub-account.

Read read
Parameters
sub_account_id, params
Generic call
kosmo integrations:call unbounce.unbounce_list_domains '{"sub_account_id":"example_sub_account_id","params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_domains '{"sub_account_id":"example_sub_account_id","params":"example_params"}' --json

unbounce.unbounce_get_domain

Get one Unbounce domain by ID.

Read read
Parameters
domain_id
Generic call
kosmo integrations:call unbounce.unbounce_get_domain '{"domain_id":"example_domain_id"}' --json
Shortcut
kosmo integrations:unbounce unbounce_get_domain '{"domain_id":"example_domain_id"}' --json

unbounce.unbounce_list_domain_pages

List pages published on an Unbounce domain.

Read read
Parameters
domain_id, params
Generic call
kosmo integrations:call unbounce.unbounce_list_domain_pages '{"domain_id":"example_domain_id","params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_domain_pages '{"domain_id":"example_domain_id","params":"example_params"}' --json

unbounce.unbounce_list_page_groups

List page groups for an Unbounce sub-account.

Read read
Parameters
sub_account_id, params
Generic call
kosmo integrations:call unbounce.unbounce_list_page_groups '{"sub_account_id":"example_sub_account_id","params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_page_groups '{"sub_account_id":"example_sub_account_id","params":"example_params"}' --json

unbounce.unbounce_get_page_group

Get one Unbounce page group by ID.

Read read
Parameters
page_group_id
Generic call
kosmo integrations:call unbounce.unbounce_get_page_group '{"page_group_id":"example_page_group_id"}' --json
Shortcut
kosmo integrations:unbounce unbounce_get_page_group '{"page_group_id":"example_page_group_id"}' --json

unbounce.unbounce_list_page_group_pages

List pages in an Unbounce page group.

Read read
Parameters
page_group_id, params
Generic call
kosmo integrations:call unbounce.unbounce_list_page_group_pages '{"page_group_id":"example_page_group_id","params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_list_page_group_pages '{"page_group_id":"example_page_group_id","params":"example_params"}' --json

unbounce.unbounce_get_current_user

Get the currently authenticated Unbounce user profile. Returns account name, email, and other account details.

Read read
Parameters
none
Generic call
kosmo integrations:call unbounce.unbounce_get_current_user '{}' --json
Shortcut
kosmo integrations:unbounce unbounce_get_current_user '{}' --json

unbounce.unbounce_api_get

Call a safe relative Unbounce API path with GET.

Read read
Parameters
path, params
Generic call
kosmo integrations:call unbounce.unbounce_api_get '{"path":"example_path","params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_api_get '{"path":"example_path","params":"example_params"}' --json

unbounce.unbounce_api_post

Call a safe relative Unbounce API path with POST.

Write write
Parameters
path, payload, params
Generic call
kosmo integrations:call unbounce.unbounce_api_post '{"path":"example_path","payload":"example_payload","params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_api_post '{"path":"example_path","payload":"example_payload","params":"example_params"}' --json

unbounce.unbounce_api_delete

Call a safe relative Unbounce API path with DELETE.

Write write
Parameters
path, params
Generic call
kosmo integrations:call unbounce.unbounce_api_delete '{"path":"example_path","params":"example_params"}' --json
Shortcut
kosmo integrations:unbounce unbounce_api_delete '{"path":"example_path","params":"example_params"}' --json

Function Schemas

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

unbounce.unbounce_get_api_metadata 0 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_get_api_metadata --json
ParameterTypeRequiredDescription
No parameters.
unbounce.unbounce_list_accounts 1 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_accounts --json
ParameterTypeRequiredDescription
params object no Query parameters such as sort_order.
unbounce.unbounce_get_account 1 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_get_account --json
ParameterTypeRequiredDescription
account_id string yes Unbounce account ID.
unbounce.unbounce_list_sub_accounts 3 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_sub_accounts --json
ParameterTypeRequiredDescription
account_id string no Optional account ID for the official /accounts/{account_id}/sub_accounts endpoint.
limit integer no Maximum number of sub-accounts to return (default: 50, max: 1000).
offset integer no Offset for pagination (default: 0).
unbounce.unbounce_get_sub_account 1 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_get_sub_account --json
ParameterTypeRequiredDescription
sub_account_id string yes Sub-account ID.
unbounce.unbounce_list_pages 3 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_pages --json
ParameterTypeRequiredDescription
limit integer no Maximum number of pages to return (default: 50, max: 1000).
offset integer no Offset for pagination (default: 0).
sort string no Sort order. Prefix with "-" for descending (e.g., "created_at", "-created_at").
unbounce.unbounce_list_account_pages 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_account_pages --json
ParameterTypeRequiredDescription
account_id string yes Account ID.
params object no Query parameters.
unbounce.unbounce_list_sub_account_pages 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_sub_account_pages --json
ParameterTypeRequiredDescription
sub_account_id string yes Sub-account ID.
params object no Query parameters.
unbounce.unbounce_get_page 1 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_get_page --json
ParameterTypeRequiredDescription
page_id string yes The Unbounce page ID (e.g., "a2834fde-1234-5678-abcd-1234567890ab").
unbounce.unbounce_list_page_form_fields 1 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_page_form_fields --json
ParameterTypeRequiredDescription
page_id string yes Page ID.
unbounce.unbounce_list_leads 3 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_leads --json
ParameterTypeRequiredDescription
page_id string yes The Unbounce page ID to list leads for.
limit integer no Maximum number of leads to return (default: 50, max: 1000).
offset integer no Offset for pagination (default: 0).
unbounce.unbounce_get_lead 1 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_get_lead --json
ParameterTypeRequiredDescription
lead_id string yes The Unbounce lead ID.
unbounce.unbounce_create_lead 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_create_lead --json
ParameterTypeRequiredDescription
page_id string yes Page ID.
payload object yes Lead creation payload including form_submission.
unbounce.unbounce_create_lead_deletion_request 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_create_lead_deletion_request --json
ParameterTypeRequiredDescription
page_id string yes Page ID.
payload object yes Lead deletion request payload.
unbounce.unbounce_get_lead_deletion_request 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_get_lead_deletion_request --json
ParameterTypeRequiredDescription
page_id string yes Page ID.
lead_deletion_request_id string yes Lead deletion request ID.
unbounce.unbounce_list_domains 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_domains --json
ParameterTypeRequiredDescription
sub_account_id string yes Sub-account ID.
params object no Query parameters.
unbounce.unbounce_get_domain 1 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_get_domain --json
ParameterTypeRequiredDescription
domain_id string yes Domain ID.
unbounce.unbounce_list_domain_pages 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_domain_pages --json
ParameterTypeRequiredDescription
domain_id string yes Domain ID.
params object no Query parameters.
unbounce.unbounce_list_page_groups 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_page_groups --json
ParameterTypeRequiredDescription
sub_account_id string yes Sub-account ID.
params object no Query parameters.
unbounce.unbounce_get_page_group 1 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_get_page_group --json
ParameterTypeRequiredDescription
page_group_id string yes Page group ID.
unbounce.unbounce_list_page_group_pages 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_list_page_group_pages --json
ParameterTypeRequiredDescription
page_group_id string yes Page group ID.
params object no Query parameters.
unbounce.unbounce_get_current_user 0 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_get_current_user --json
ParameterTypeRequiredDescription
No parameters.
unbounce.unbounce_api_get 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_api_get --json
ParameterTypeRequiredDescription
path string yes Relative API path.
params object no Query parameters.
unbounce.unbounce_api_post 3 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_api_post --json
ParameterTypeRequiredDescription
path string yes Relative API path.
payload object no JSON request body.
params object no Query parameters.
unbounce.unbounce_api_delete 2 parameters
Schema command
kosmo integrations:schema unbounce.unbounce_api_delete --json
ParameterTypeRequiredDescription
path string yes Relative API path.
params object no Query 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.