other
Moosend CLI for Headless Automation
Use the Moosend CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 5 read 2 write API key auth
Moosend CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Moosend CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Moosend CLI for Headless Automation
kosmokrator integrations:configure moosend --set api_key="$MOOSEND_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call moosend.moosend_list_mailing_lists '{"limit":1,"offset":1}' --json Discovery Before Execution
Agents and scripts can inspect Moosend docs and schemas before choosing a function.
kosmo integrations:docs moosend --json
kosmo integrations:docs moosend.moosend_list_mailing_lists --json
kosmo integrations:schema moosend.moosend_list_mailing_lists --json
kosmo integrations:search "Moosend" --json
kosmo integrations:list --json Useful Moosend CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
moosend.moosend_list_mailing_lists | Read | limit, offset | List all mailing lists in your Moosend account. Returns list IDs, names, and subscriber counts. |
moosend.moosend_get_mailing_list | Read | id | Get detailed information about a specific mailing list in Moosend, including subscriber counts and settings. |
moosend.moosend_create_mailing_list | Write | name | Create a new mailing list in Moosend. Returns the newly created list with its ID. |
moosend.moosend_list_subscribers | Read | list_id, limit, page, status | List subscribers for a specific mailing list in Moosend. Supports filtering by status and pagination. |
moosend.moosend_add_subscriber | Write | list_id, email, name | Add a new subscriber to a Moosend mailing list. Requires an email address; name is optional. |
moosend.moosend_list_campaigns | Read | limit, page, status | List all email campaigns in your Moosend account. Supports filtering by status and pagination. |
moosend.moosend_get_current_user | Read | none | Get the current authenticated Moosend user. Useful as a health check to verify API connectivity. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.