Headless Customer Support API
Build with cStar
The headless support platform for teams who want to ship their own UI. We run the backend. You render whatever you want. SDKs, webhooks, a CLI, and a REST API that doesn't try to be cute.
Pick your level
Drop in a script tag. Reach for the SDK. Hit the API directly. Start at the level you need — you can mix surfaces later without rebuilding.
Widget Embed
2 min · no codeDrop a script tag. Customers get a chat widget; you get tickets in your dashboard. Done.
<script src="cstar.js"></script> Best for landing pages and marketing sites Level 2 SDK Integration
10 min · some codeImport the React, Svelte, or JS SDK. Build custom chat, help centers, and community forums with typed hooks and rune classes.
import { CStarClient } from '@cstar.help/js' Best for custom UIs and SPAs Level 3 REST API
30 min · full control160+ endpoints across 45 resources. Build a full custom dashboard, sync with your stack, automate anything. Any language.
GET /api/v1/teams/{teamId}/tickets Best for custom dashboards and backend integrationsWhat are you building?
REST API
Full CRUD for tickets, customers, articles, and webhooks. Clean JSON responses, sensible pagination, proper error codes.
Explore endpointsFramework SDKs
First-class support for React, Svelte, and vanilla JavaScript. Hooks, rune classes, and real-time subscriptions built in.
View SDKsWebhooks
Real-time event delivery for tickets, customers, articles, and gamification. HMAC signing, retries, and a CLI for local testing.
Webhook guideCLI + MCP
Developer CLI for local webhook forwarding, log streaming, and key management. MCP server mode for AI agent integration.
CLI referenceBuilt different on purpose
MCP MCP server mode lets Claude, Cursor, and other AI tools work with your support data directly.
CLI cstar listen forwards webhook events to localhost. cstar trigger fires
test events.
SDK React hooks with real-time subscriptions. Svelte 5 rune classes. Not auto-generated REST wrappers.
AI Drop our AI context file into your project. Your AI assistant instantly knows the full API.
Quick look at the API
REST. Bearer tokens. JSON in, JSON out. No surprises.
/api/v1/teams/{teamId}/tickets List tickets/api/v1/teams/{teamId}/tickets Create ticket/api/v1/teams/{teamId}/customers List customers/api/v1/teams/{teamId}/webhooks Create webhook/api/v1/teams/{teamId}/articles List articlesimport { CStarClient } from '@cstar.help/js';
const cstar = new CStarClient({ apiKey: 'sk_live_your_key' });
const { data, pagination } = await cstar.tickets.list({
status: 'open',
priority: 'urgent'
});
console.log(`Found ${pagination.total} urgent tickets`);Framework SDKs
Pick the one that matches your stack. React hooks for React. Svelte 5 rune classes for Svelte. The vanilla JS client for everything else (and for the server).