KosmoKrator

messaging

Crisp CLI for Headless Automation

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

7 functions 6 read 1 write API key auth

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

Command Shape

# Crisp CLI for Headless Automation
kosmokrator integrations:configure crisp --set api_key="$CRISP_API_KEY" --set website_id="$CRISP_WEBSITE_ID" --enable --read allow --write ask --json
kosmo integrations:call crisp.crisp_list_conversations '{"page":1,"per_page":1}' --json

Discovery Before Execution

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

kosmo integrations:docs crisp --json
kosmo integrations:docs crisp.crisp_list_conversations --json
kosmo integrations:schema crisp.crisp_list_conversations --json
kosmo integrations:search "Crisp" --json
kosmo integrations:list --json

Useful Crisp CLI Functions

FunctionTypeParametersDescription
crisp.crisp_list_conversations Read page, per_page List chat conversations from Crisp. Returns conversation sessions with status, participant info, and last message preview. Supports pagination.
crisp.crisp_get_conversation Read conversation_id Get details and messages of a specific Crisp conversation. Returns the full message thread including sender info, timestamps, and message content.
crisp.crisp_send_message Write conversation_id, text, type, from Send a message in a Crisp conversation. Posts as an operator by default. Use the "type" parameter to send text, notes, or file messages.
crisp.crisp_list_contacts Read page, per_page List contacts from Crisp. Returns contact profiles with email, name, and custom data. Supports pagination.
crisp.crisp_get_contact Read contact_id Get details of a specific Crisp contact. Returns profile info, custom data, segments, and more.
crisp.crisp_list_campaigns Read page, per_page List marketing campaigns from Crisp. Returns campaigns with status, template details, and delivery statistics. Supports pagination.
crisp.crisp_get_current_user Read none Get the currently authenticated Crisp user profile. Useful for verifying credentials and identifying the connected operator.

Automation Notes

Related Crisp CLI Pages