cStar's Headless Developer Platform: Customer Support, Unchained

The Pattern Every Developer Recognizes

Your team picks a support platform. It works. Then product wants a custom ticket form. Design wants the help center to match the brand. Engineering wants ticket data in an internal dashboard.

Now you're reverse-engineering undocumented endpoints, scraping widget HTML or copy-pasting between browser tabs like it's 2008. The tool that was supposed to save time became the bottleneck.

I've built workarounds on workarounds. At some point you stop patching the wall and build a new house.

The API Is the Product

No widget you're forced to embed. No iframe wrestling. No "enterprise plan required" to reach your own data.

cStar gives you a REST API for tickets, customers, messages, articles, webhooks and much more. You build the frontend and control every pixel. We handle the data, real-time events, SLA tracking and the game engine that keeps your agents from burning out.

You wouldn't want your payment provider to own your checkout page. Why let a support platform own your help experience?

Everything Below Is Live

Not "coming soon." Not "join the waitlist." This is the way.

REST API

Prefixed IDs (tkt_, cus_, art_, msg_, whk_) so you never wonder which kind of ID a7f3b2c1 is at 2 AM.

curl https://www.cstar.help/api/v1/teams/{teamId}/tickets \
  -H "Authorization: Bearer sk_test_your_key"

Every response uses the same envelope (success, data, meta), every field is camelCase, and errors share one shape. Two key types:

  • Secret keys (sk_live_, sk_test_) for your server. Full team access.
  • Publishable keys (pk_live_, pk_test_) for public surfaces like your help center and community. Never your staff data.

Test keys get a separate sandbox: same API, separate data. Rate limits are public and sent in every response's headers: 1,000 requests an hour for secret keys, 100 for publishable keys.

Three SDKs

  • @cstar.help/js: the core TypeScript SDK. A server-side client for your team's data, plus browser-safe modules for chat, the library and the community.
  • @cstar.help/react: hooks like useChat, useArticles, useBossBattle and useCStarQuery.
  • @cstar.help/svelte: Svelte 5 rune classes built on $state, so data feels native to the framework.

All fully typed. The React and Svelte packages sit on top of the JS SDK, so install it alongside them.

Webhooks

Subscribe to 35 events: ticket.created, customer.updated, article.published, and yes, boss.defeated. Every delivery is HMAC-signed with your whsec_ secret. Failed deliveries retry on their own, and delivery logs show every attempt.

Verify with the SDK instead of hand-rolling crypto:

import { constructEvent } from '@cstar.help/js/webhook/node';

// rawBody must be the unparsed request body
const event = constructEvent(rawBody, req.headers['x-signature'], process.env.CSTAR_WEBHOOK_SECRET);

The signature includes a timestamp, and old ones are refused, so replayed requests bounce.

CLI

The cstar CLI is a warp zone straight to your support data:

  • cstar listen forwards webhook events to your local server. No ngrok needed.
  • cstar logs --tail streams your API request logs live.
  • cstar trigger ticket.created fires a test event at your endpoints.
  • cstar keys create makes API keys without opening the dashboard.
npm install -g @cstar.help/cli
cstar login --api-key sk_test_your_key
cstar listen --forward-to http://localhost:3000/api/webhooks

MCP Server Mode

This is the part that made me grin.

The CLI doubles as an MCP server. Log in once, add it to Claude Code or any MCP client, and your AI assistant can list and open tickets, look up customers, search your library, check the boss fight and fire test webhooks.

{
  "mcpServers": {
    "cstar": {
      "command": "npx",
      "args": ["@cstar.help/cli", "mcp-server", "--stdio"]
    }
  }
}

"Show me this week's high-priority tickets" just works. It feels like science fiction until you watch it in your terminal, and then it feels obvious.

Identity Verification

Building a customer-facing chat or portal? Your server signs the customer's ID, email, name and a timestamp with your team's identity secret. The chat SDK sends that signature, cStar verifies it, and the customer is signed in. No second password for them, no impersonation for anyone else.

Idempotency Built In

Send an Idempotency-Key header on any API-key POST or PATCH. Repeat the same request within 24 hours and you get the original response back, marked with meta.idempotentReplayed: true. Reuse a key with a different body and we refuse it instead of guessing.

curl -X POST https://www.cstar.help/api/v1/teams/{teamId}/tickets \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Idempotency-Key: unique-request-id-123" \
  -H "Content-Type: application/json" \
  -d '{"title": "Network issue", "priority": "high"}'

Safe retries, no duplicate tickets. Your queue consumers will thank you.

The Game Is in the Data

Your agents don't just use cStar. They play it. Closing tickets earns XP. Combos and streaks build momentum. Ticket rushes spawn bosses. All of it flows through the platform: boss.spawned, boss.defeated, player.level_up and player.achievement_unlocked are real webhook events.

Put the live boss fight on the office TV. Post achievements to Slack. 10 billion percent baked in.

$15/seat. That's It. That's the Pitch.

No API tier. No webhook add-on. No "developer plan" at triple the price. Every seat includes the API, all three SDKs, webhooks, the CLI and MCP mode.

Go Build Something

  1. Create a cStar team.
  2. Make a secret key in Settings > Team Settings > API Keys (or cstar keys create).
  3. npm install @cstar.help/js
  4. Make your first request:
import { CStarClient } from '@cstar.help/js';

const cstar = new CStarClient({
  apiKey: process.env.CSTAR_SECRET_KEY, // sk_test_...
  teamId: process.env.CSTAR_TEAM_ID
});

const { data: tickets } = await cstar.tickets.list({ status: 'open' });
console.log(`You have ${tickets.length} open tickets`);

Everything else lives at /developers, starting with the quickstart. Go build something we haven't thought of yet.


Written by Josh Lopez. He has pinged himself through the MCP server more times than he'd like to admit.