KosmoKrator

marketing

Buffer CLI for CI

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

7 functions 6 read 1 write Manual OAuth token auth

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

Command Shape

# Buffer CLI for CI
kosmokrator integrations:configure buffer --set access_token="$BUFFER_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call buffer.buffer_list_profiles '{}' --json

Discovery Before Execution

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

kosmo integrations:docs buffer --json
kosmo integrations:docs buffer.buffer_list_profiles --json
kosmo integrations:schema buffer.buffer_list_profiles --json
kosmo integrations:search "Buffer" --json
kosmo integrations:list --json

Useful Buffer CLI Functions

FunctionTypeParametersDescription
buffer.buffer_list_profiles Read none List all social media profiles connected to the Buffer account. Returns profile IDs, service types (e.g., Twitter, Facebook, LinkedIn), and display names.
buffer.buffer_get_profile Read profileId Get details of a specific social media profile in Buffer by its ID. Returns profile service type, display name, and account metadata.
buffer.buffer_list_pending_updates Read profileId, count, page List scheduled (pending) updates for a Buffer profile. Returns update IDs, text content, scheduled times, and status. Supports pagination.
buffer.buffer_create_update Write text, profileIds, shorten, now, scheduledAt, media Create and schedule a new social media update in Buffer. Provide the text content, target profile IDs, and optionally a scheduled time or media attachments.
buffer.buffer_list_sent_updates Read profileId, count, page List already posted (sent) updates for a Buffer profile. Returns update IDs, text content, sent times, and engagement metrics. Supports pagination.
buffer.buffer_get_update Read updateId Get details of a specific Buffer update by its ID. Returns the update text, scheduled or sent time, social profiles, media, and delivery status.
buffer.buffer_get_current_user Read none Get the currently authenticated Buffer user profile. Returns the user name, email, and account info.

Automation Notes

Related Buffer CLI Pages