Skip to main content

Headless Customer Support API

Build with cStar

The headless support platform that lets you build your own UI while we handle the backend. SDKs, webhooks, CLI, and a full REST API — everything you need to ship a support experience that agents actually enjoy.

2 min to first API call
3 SDKs JS, React, Svelte
$15 per seat, everything
Terminal
_

Choose Your Integration

Three ways to integrate, from zero code to full control. Start simple, add complexity when you need it.

What are you building?

REST API

Full CRUD for tickets, customers, articles, and webhooks. Clean JSON responses, sensible pagination, proper error codes.

Explore endpoints

Framework SDKs

First-class support for React, Svelte, and vanilla JavaScript. Hooks, rune classes, and real-time subscriptions built in.

View SDKs

Webhooks

Real-time event delivery for tickets, customers, articles, and gamification. HMAC signing, retries, and a CLI for local testing.

Webhook guide

CLI + MCP

Developer CLI for local webhook forwarding, log streaming, and key management. MCP server mode for AI agent integration.

CLI reference

What no other support platform gives you

MCP
AI-native from day one

MCP server mode lets Claude, Cursor, and other AI tools work with your support data directly.

CLI
Stripe-style webhook testing

cstar listen forwards webhook events to localhost. cstar trigger fires test events.

SDK
Framework-native, not wrappers

React hooks with real-time subscriptions. Svelte 5 rune classes. Not auto-generated REST wrappers.

AI
AI context file included

Drop our AI context file into your project. Your AI assistant instantly knows the full API.

Quick look at the API

All endpoints follow REST conventions with consistent JSON responses. Authenticate with Bearer tokens and manage resources with standard CRUD operations.

GET /api/v1/teams/{teamId}/tickets List tickets
POST /api/v1/teams/{teamId}/tickets Create ticket
GET /api/v1/teams/{teamId}/customers List customers
POST /api/v1/teams/{teamId}/webhooks Create webhook
GET /api/v1/teams/{teamId}/articles List articles
Example: List open tickets
import { CStarClient } from '@cstar.help/js';

const cstar = new CStarClient({ apiKey: 'sk_live_your_key' });

const { data, pagination } = await cstar.tickets.list({
  status: 'open',
  priority: 'high'
});

console.log(`Found ${pagination.total} urgent tickets`);

Framework SDKs

Choose your framework. Each SDK provides idiomatic patterns — React hooks, Svelte rune classes, or the vanilla JS client for everything else.