API Online
Resolve tickets
before your team wakes up
Upload your knowledge base. Point your email webhook. Clasp reads every inbound ticket, searches your docs, and generates accurate responses — automatically.
Quick Start
1. Upload a doc to your knowledge base:
curl -X POST /api/docs \
-H "Content-Type: application/json" \
-d '{"title": "Refund Policy", "content": "We offer full refunds within 30 days..."}'
2. Send a ticket via webhook:
curl -X POST /api/webhooks/email \
-H "Content-Type: application/json" \
-d '{"subject": "Refund request", "body": "I want a refund for my order", "from_email": "customer@example.com"}'
3. Clasp auto-resolves it:
{"success": true, "ticket": {"status": "resolved"}, "response": {"confidence": 0.9, "text": "..."}}