ClickSend CLI Setup ClickSend can be configured headlessly with `kosmokrator integrations:configure clicksend`.
# 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 clicksend --set username=" $CLICKSEND_USERNAME " --set api_key=" $CLICKSEND_API_KEY " --enable --read allow --write ask --json
kosmokrator integrations:doctor clicksend --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 ClickSend Headlessly Use the generic call form when another coding CLI or script needs a stable universal interface.
kosmo integrations:call clicksend.clicksend_get_account_balance '{}' --json Use the provider shortcut form for shorter human-facing commands.
kosmo integrations:clicksend clicksend_get_account_balance '{}' --json Agent Discovery Commands
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs clicksend --json
kosmo integrations:docs clicksend.clicksend_get_account_balance --json
kosmo integrations:schema clicksend.clicksend_get_account_balance --json
kosmo integrations:search "ClickSend" --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 ClickSend.
clicksend.clicksend_get_account_balance Read read Get the current ClickSend account balance.
none kosmo integrations:call clicksend.clicksend_get_account_balance '{}' --json copy kosmo integrations:clicksend clicksend_get_account_balance '{}' --json copy
clicksend.clicksend_get_email_history Read read Get email message history from ClickSend with pagination.
limit, page kosmo integrations:call clicksend.clicksend_get_email_history '{"limit":1,"page":1}' --json copy kosmo integrations:clicksend clicksend_get_email_history '{"limit":1,"page":1}' --json copy
clicksend.clicksend_get_sms_history Read read Get SMS message history from ClickSend. Supports date range filtering and pagination.
date_from, date_to, limit, page kosmo integrations:call clicksend.clicksend_get_sms_history '{"date_from":"example_date_from","date_to":"example_date_to","limit":1,"page":1}' --json copy kosmo integrations:clicksend clicksend_get_sms_history '{"date_from":"example_date_from","date_to":"example_date_to","limit":1,"page":1}' --json copy
clicksend.clicksend_get_sms_price Read read Get pricing for SMS messages before sending. Uses the same message format as send SMS but returns cost estimates only.
messages kosmo integrations:call clicksend.clicksend_get_sms_price '{"messages":"example_messages"}' --json copy kosmo integrations:clicksend clicksend_get_sms_price '{"messages":"example_messages"}' --json copy
clicksend.clicksend_get_voice_history Read read Get voice message history from ClickSend with pagination.
limit, page kosmo integrations:call clicksend.clicksend_get_voice_history '{"limit":1,"page":1}' --json copy kosmo integrations:clicksend clicksend_get_voice_history '{"limit":1,"page":1}' --json copy
clicksend.clicksend_list_contact_lists Read read List all contact lists from ClickSend with pagination.
limit, page kosmo integrations:call clicksend.clicksend_list_contact_lists '{"limit":1,"page":1}' --json copy kosmo integrations:clicksend clicksend_list_contact_lists '{"limit":1,"page":1}' --json copy
clicksend.clicksend_send_email Write write Send an email message via ClickSend. Requires recipient, subject, and body.
to, subject, body, from_email_address, from_name kosmo integrations:call clicksend.clicksend_send_email '{"to":"example_to","subject":"example_subject","body":"example_body","from_email_address":"example_from_email_address","from_name":"example_from_name"}' --json copy kosmo integrations:clicksend clicksend_send_email '{"to":"example_to","subject":"example_subject","body":"example_body","from_email_address":"example_from_email_address","from_name":"example_from_name"}' --json copy
clicksend.clicksend_send_post_letter Write write Send a post letter via ClickSend. Provide a file URL or template ID with recipient details.
file_url, template_id, recipients, duplex kosmo integrations:call clicksend.clicksend_send_post_letter '{"file_url":"example_file_url","template_id":1,"recipients":"example_recipients","duplex":1}' --json copy kosmo integrations:clicksend clicksend_send_post_letter '{"file_url":"example_file_url","template_id":1,"recipients":"example_recipients","duplex":1}' --json copy
clicksend.clicksend_send_sms Write write Send one or more SMS messages via ClickSend. Each message requires a "to" phone number and "body" text.
messages kosmo integrations:call clicksend.clicksend_send_sms '{"messages":"example_messages"}' --json copy kosmo integrations:clicksend clicksend_send_sms '{"messages":"example_messages"}' --json copy
clicksend.clicksend_send_voice Write write Send one or more voice messages via ClickSend. Each message requires a "to" phone number and "body" text.
messages kosmo integrations:call clicksend.clicksend_send_voice '{"messages":"example_messages"}' --json copy kosmo integrations:clicksend clicksend_send_voice '{"messages":"example_messages"}' --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 clicksend.clicksend_get_account_balance --json
Operation Read read
Schema command kosmo integrations:schema clicksend.clicksend_get_email_history --json
Operation Read read
Schema command kosmo integrations:schema clicksend.clicksend_get_sms_history --json
Operation Read read
Schema command kosmo integrations:schema clicksend.clicksend_get_sms_price --json
Operation Read read
Schema command kosmo integrations:schema clicksend.clicksend_get_voice_history --json
Operation Read read
Schema command kosmo integrations:schema clicksend.clicksend_list_contact_lists --json
Operation Write write
Schema command kosmo integrations:schema clicksend.clicksend_send_email --json
Operation Write write
Schema command kosmo integrations:schema clicksend.clicksend_send_post_letter --json
Operation Write write
Schema command kosmo integrations:schema clicksend.clicksend_send_sms --json
Operation Write write
Schema command kosmo integrations:schema clicksend.clicksend_send_voice --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.