Skip to main content

Developer Platform

Build with cStar

SDKs, APIs, webhooks, and CLI tools for integrating customer support into your product. Everything you need to ship a support experience that agents actually enjoy.

npm install @cstar.help/js
			

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

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.