π¦ ClawHub
Crisp Skill
by @paul-phan
Customer support via Crisp API. Use when the user asks to check, read, search, or respond to Crisp inbox messages. Requires Crisp website ID and plugin token (authenticated via environment variables CRISP_WEBSITE_ID, CRISP_TOKEN_ID, and CRISP_TOKEN_KEY).
TERMINAL
clawhub install crispπ About This Skill
name: crisp description: Customer support via Crisp API. Use when the user asks to check, read, search, or respond to Crisp inbox messages. Requires Crisp website ID and plugin token (authenticated via environment variables CRISP_WEBSITE_ID, CRISP_TOKEN_ID, and CRISP_TOKEN_KEY).
Crisp Customer Support
Crisp is a customer support platform. Use this skill when the user needs to:
Credentials
Crisp requires authentication via HTTP headers with a token identifier and key (Basic Auth), plus the website ID for the API URL.
Set these as environment variables (stored securely, never logged):
CRISP_WEBSITE_ID - Your website identifier (e.g., 0f4c...)CRISP_TOKEN_ID - Your Plugin Token Identifier (e.g., e47d...)CRISP_TOKEN_KEY - Your Plugin Token Key (e.g., a7d7...)Common Workflows
Check Inbox Status
scripts/crisp.py inbox list --page 1
Read Conversation
scripts/crisp.py conversation get
Get Messages in Conversation
scripts/crisp.py messages get
Send a Reply
scripts/crisp.py message send "Your reply text here"
Search Conversations
scripts/crisp.py conversations search "query terms" --filter unresolved --max 10
Mark as Read
scripts/crisp.py conversation read
Resolve Conversation
scripts/crisp.py conversation resolve
API Reference
Key endpoints used:
GET /v1/website/{website_id}/conversations/{page} - List conversationsGET /v1/website/{website_id}/conversation/{session_id} - Get conversation detailsGET /v1/website/{website_id}/conversation/{session_id}/messages - Get messagesPOST /v1/website/{website_id}/conversation/{session_id}/message - Send messagePATCH /v1/website/{website_id}/conversation/{session_id}/read - Mark as readPATCH /v1/website/{website_id}/conversation/{session_id} - Update/resolveBase URL: https://api.crisp.chat
Notes
meta.email in conversation for customer emailCRISP_WEBSITE_ID, CRISP_TOKEN_ID, and CRISP_TOKEN_KEY are set before running commands--json flag for script output when parsing programmaticallyπ Tips & Best Practices
meta.email in conversation for customer emailCRISP_WEBSITE_ID, CRISP_TOKEN_ID, and CRISP_TOKEN_KEY are set before running commands--json flag for script output when parsing programmatically