KosmoKrator

other

Moosend CLI for Cron Jobs

Use the Moosend CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 5 read 2 write API key auth

Moosend CLI for Cron Jobs

Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.

Use the headless CLI from cron when an operation should run without an interactive agent session. 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 Cron Jobs
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

FunctionTypeParametersDescription
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

Related Moosend CLI Pages