KosmoKrator

marketing

Hootsuite CLI for AI Agents

Use the Hootsuite CLI from KosmoKrator to call Hootsuite tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 6 read 1 write Manual OAuth token auth

Hootsuite CLI Setup

Hootsuite can be configured headlessly with `kosmokrator integrations:configure hootsuite`.

# 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 hootsuite --set access_token="$HOOTSUITE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor hootsuite --json
kosmokrator integrations:status --json

Credentials

Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token HOOTSUITE_ACCESS_TOKEN Secret secret yes Access Token
url HOOTSUITE_URL URL url no API Base URL

Call Hootsuite Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call hootsuite.hootsuite_list_messages '{
  "startTime": "example_startTime",
  "endTime": "example_endTime",
  "limit": 1,
  "socialProfileIds": "example_socialProfileIds"
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:hootsuite hootsuite_list_messages '{
  "startTime": "example_startTime",
  "endTime": "example_endTime",
  "limit": 1,
  "socialProfileIds": "example_socialProfileIds"
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities 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

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 Hootsuite.

hootsuite.hootsuite_list_messages

Read read

List scheduled and past messages in Hootsuite. Filter by time range, social profiles, and limit. Returns message IDs, text, scheduled send times, and status.

Parameters
startTime, endTime, limit, socialProfileIds

Generic CLI call

kosmo integrations:call hootsuite.hootsuite_list_messages '{"startTime":"example_startTime","endTime":"example_endTime","limit":1,"socialProfileIds":"example_socialProfileIds"}' --json

Provider shortcut

kosmo integrations:hootsuite hootsuite_list_messages '{"startTime":"example_startTime","endTime":"example_endTime","limit":1,"socialProfileIds":"example_socialProfileIds"}' --json

hootsuite.hootsuite_get_message

Read read

Get details of a specific Hootsuite message by its ID. Returns the message text, scheduled send time, social profiles, and delivery status.

Parameters
messageId

Generic CLI call

kosmo integrations:call hootsuite.hootsuite_get_message '{"messageId":"example_messageId"}' --json

Provider shortcut

kosmo integrations:hootsuite hootsuite_get_message '{"messageId":"example_messageId"}' --json

hootsuite.hootsuite_create_message

Write write

Schedule a new social media message in Hootsuite. Provide the text content, target social profile IDs, and the scheduled send time.

Parameters
text, socialProfileIds, scheduledSendTime

Generic CLI call

kosmo integrations:call hootsuite.hootsuite_create_message '{"text":"example_text","socialProfileIds":"example_socialProfileIds","scheduledSendTime":"example_scheduledSendTime"}' --json

Provider shortcut

kosmo integrations:hootsuite hootsuite_create_message '{"text":"example_text","socialProfileIds":"example_socialProfileIds","scheduledSendTime":"example_scheduledSendTime"}' --json

hootsuite.hootsuite_list_social_profiles

Read read

List all social media profiles connected to the Hootsuite account. Returns profile IDs, types (e.g., Twitter, Facebook, LinkedIn), and display names.

Parameters
none

Generic CLI call

kosmo integrations:call hootsuite.hootsuite_list_social_profiles '{}' --json

Provider shortcut

kosmo integrations:hootsuite hootsuite_list_social_profiles '{}' --json

hootsuite.hootsuite_get_social_profile

Read read

Get details of a specific social media profile in Hootsuite by its ID. Returns profile type, display name, and account metadata.

Parameters
profileId

Generic CLI call

kosmo integrations:call hootsuite.hootsuite_get_social_profile '{"profileId":"example_profileId"}' --json

Provider shortcut

kosmo integrations:hootsuite hootsuite_get_social_profile '{"profileId":"example_profileId"}' --json

hootsuite.hootsuite_list_members

Read read

List members of the Hootsuite organization. Returns member IDs, names, emails, and roles. Use limit to control page size.

Parameters
limit

Generic CLI call

kosmo integrations:call hootsuite.hootsuite_list_members '{"limit":1}' --json

Provider shortcut

kosmo integrations:hootsuite hootsuite_list_members '{"limit":1}' --json

hootsuite.hootsuite_get_current_user

Read read

Get the currently authenticated Hootsuite user profile. Returns the member name, email, and organization info.

Parameters
none

Generic CLI call

kosmo integrations:call hootsuite.hootsuite_get_current_user '{}' --json

Provider shortcut

kosmo integrations:hootsuite hootsuite_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

hootsuite.hootsuite_list_messages

List scheduled and past messages in Hootsuite. Filter by time range, social profiles, and limit. Returns message IDs, text, scheduled send times, and status.

Operation
Read read
Schema command
kosmo integrations:schema hootsuite.hootsuite_list_messages --json
ParameterTypeRequiredDescription
startTime string no Start of time range in ISO 8601 format (e.g., "2025-01-01T00:00:00Z").
endTime string no End of time range in ISO 8601 format (e.g., "2025-01-31T23:59:59Z").
limit integer no Maximum number of messages to return.
socialProfileIds array no Array of social profile IDs to filter messages by.

hootsuite.hootsuite_get_message

Get details of a specific Hootsuite message by its ID. Returns the message text, scheduled send time, social profiles, and delivery status.

Operation
Read read
Schema command
kosmo integrations:schema hootsuite.hootsuite_get_message --json
ParameterTypeRequiredDescription
messageId string yes The message ID to retrieve.

hootsuite.hootsuite_create_message

Schedule a new social media message in Hootsuite. Provide the text content, target social profile IDs, and the scheduled send time.

Operation
Write write
Schema command
kosmo integrations:schema hootsuite.hootsuite_create_message --json
ParameterTypeRequiredDescription
text string yes The message text content to post.
socialProfileIds array yes Array of social profile IDs to publish the message to.
scheduledSendTime string yes ISO 8601 timestamp for when the message should be sent (e.g., "2025-02-01T09:00:00Z").

hootsuite.hootsuite_list_social_profiles

List all social media profiles connected to the Hootsuite account. Returns profile IDs, types (e.g., Twitter, Facebook, LinkedIn), and display names.

Operation
Read read
Schema command
kosmo integrations:schema hootsuite.hootsuite_list_social_profiles --json
ParameterTypeRequiredDescription
No parameters.

hootsuite.hootsuite_get_social_profile

Get details of a specific social media profile in Hootsuite by its ID. Returns profile type, display name, and account metadata.

Operation
Read read
Schema command
kosmo integrations:schema hootsuite.hootsuite_get_social_profile --json
ParameterTypeRequiredDescription
profileId string yes The social profile ID to retrieve.

hootsuite.hootsuite_list_members

List members of the Hootsuite organization. Returns member IDs, names, emails, and roles. Use limit to control page size.

Operation
Read read
Schema command
kosmo integrations:schema hootsuite.hootsuite_list_members --json
ParameterTypeRequiredDescription
limit integer no Maximum number of members to return.

hootsuite.hootsuite_get_current_user

Get the currently authenticated Hootsuite user profile. Returns the member name, email, and organization info.

Operation
Read read
Schema command
kosmo integrations:schema hootsuite.hootsuite_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

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.