KosmoKrator

marketing

Hootsuite CLI for Cron Jobs

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

7 functions 6 read 1 write Manual OAuth token auth

Hootsuite 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 Hootsuite CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Hootsuite CLI for Cron Jobs
kosmokrator integrations:configure hootsuite --set access_token="$HOOTSUITE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call hootsuite.hootsuite_list_messages '{"startTime":"example_startTime","endTime":"example_endTime","limit":1,"socialProfileIds":"example_socialProfileIds"}' --json

Discovery Before Execution

Agents and scripts can inspect Hootsuite docs and schemas before choosing a function.

kosmo integrations:docs hootsuite --json
kosmo integrations:docs hootsuite.hootsuite_list_messages --json
kosmo integrations:schema hootsuite.hootsuite_list_messages --json
kosmo integrations:search "Hootsuite" --json
kosmo integrations:list --json

Useful Hootsuite CLI Functions

FunctionTypeParametersDescription
hootsuite.hootsuite_list_messages Read startTime, endTime, limit, socialProfileIds List scheduled and past messages in Hootsuite. Filter by time range, social profiles, and limit. Returns message IDs, text, scheduled send times, and status.
hootsuite.hootsuite_get_message Read messageId Get details of a specific Hootsuite message by its ID. Returns the message text, scheduled send time, social profiles, and delivery status.
hootsuite.hootsuite_create_message Write text, socialProfileIds, scheduledSendTime Schedule a new social media message in Hootsuite. Provide the text content, target social profile IDs, and the scheduled send time.
hootsuite.hootsuite_list_social_profiles Read none List all social media profiles connected to the Hootsuite account. Returns profile IDs, types (e.g., Twitter, Facebook, LinkedIn), and display names.
hootsuite.hootsuite_get_social_profile Read profileId Get details of a specific social media profile in Hootsuite by its ID. Returns profile type, display name, and account metadata.
hootsuite.hootsuite_list_members Read limit List members of the Hootsuite organization. Returns member IDs, names, emails, and roles. Use limit to control page size.
hootsuite.hootsuite_get_current_user Read none Get the currently authenticated Hootsuite user profile. Returns the member name, email, and organization info.

Automation Notes

Related Hootsuite CLI Pages