marketing
Hootsuite CLI for Headless Automation
Use the Hootsuite CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write Manual OAuth token auth
Hootsuite 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 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 Headless Automation
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
| Function | Type | Parameters | Description |
|---|---|---|---|
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
- 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.