KosmoKrator

marketing

Sprout Social CLI for CI

Use the Sprout Social CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write Manual OAuth token auth

Sprout Social CLI for CI

Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.

Use this shape when a pipeline needs to read or update an external service. The Sprout Social CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Sprout Social CLI for CI
kosmokrator integrations:configure sproutsocial --set access_token="$SPROUTSOCIAL_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call sproutsocial.sproutsocial_list_profiles '{}' --json

Discovery Before Execution

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

kosmo integrations:docs sproutsocial --json
kosmo integrations:docs sproutsocial.sproutsocial_list_profiles --json
kosmo integrations:schema sproutsocial.sproutsocial_list_profiles --json
kosmo integrations:search "Sprout Social" --json
kosmo integrations:list --json

Useful Sprout Social CLI Functions

FunctionTypeParametersDescription
sproutsocial.sproutsocial_list_profiles Read none List all social media profiles connected to the Sprout Social account. Returns profile IDs, service types (e.g., Twitter, Facebook, LinkedIn), and display names.
sproutsocial.sproutsocial_get_profile Read profileId Get details of a specific social media profile in Sprout Social by its ID. Returns profile service type, display name, and account metadata.
sproutsocial.sproutsocial_list_posts Read count, page, status List posts across social profiles in Sprout Social. Optionally filter by status (sent, scheduled, draft) and paginate results.
sproutsocial.sproutsocial_create_post Write text, profileIds, scheduledAt, media Create and schedule a new social media post in Sprout Social. Provide the text content, target profile IDs, and optionally a scheduled time or media attachments.
sproutsocial.sproutsocial_list_messages Read count, page List inbox messages and conversations in Sprout Social. Returns message IDs, sender info, and content snippets with pagination support.
sproutsocial.sproutsocial_get_message Read messageId Get details of a specific message in Sprout Social by its ID. Returns sender info, message content, attachments, and conversation metadata.
sproutsocial.sproutsocial_get_current_user Read none Get the currently authenticated Sprout Social user profile. Returns the user name, email, and account info.

Automation Notes

Related Sprout Social CLI Pages