API Reference
You bring the UI; we run the backend. REST + JSON, Bearer tokens, standard HTTP codes. Every response carries a request ID so support handoffs are one paste.
Authentication
Pass your API key as a Bearer token in the Authorization header. Manage keys from
the CLI or team settings.
curl -H "Authorization: Bearer sk_live_your_key" \
https://www.cstar.help/api/v1/teams/{teamId}/ticketsFull CRUD. Server-side only — if it lands in your bundle, rotate it.
Read-only. Safe in browsers, widgets, and any public-facing code.
Base URL
https://www.cstar.help/api/v1/teams/{teamId}All endpoints are scoped to your team. Replace {teamId} with your team's UUID
(found in team settings or via cstar status).
Errors
Conventional HTTP status codes. 2xx means it worked, 4xx means you
need to fix something, 5xx means we do. The full Error Reference has the per-code playbook.
200 OK — Request succeeded201 Created — Resource created successfully400 Bad Request — Missing or invalid parameters401 Unauthorized — Invalid or missing API key403 Forbidden — Key lacks required permissions404 Not Found — Resource doesn't exist429 Rate Limited — Too many requests500 Server Error — Something went wrong on our end{
"success": false,
"error": {
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'title' field is required.",
"param": "title",
"doc_url": "https://www.cstar.help/developers/errors#parameter_missing",
"request_id": "req_abc123"
},
"meta": {
"timestamp": "2025-12-10T14:30:00Z"
}
}Rate Limits
The API is rate-limited per key. Limits are returned in response headers. When exceeded,
requests return 429 with a retryAfter value in the error body.
Idempotency
For safe retries on POST and PATCH requests, include an Idempotency-Key header. If the same key is sent again within 24 hours, the original response
is returned instead of creating a duplicate.
curl -X POST .../tickets \
-H "Authorization: Bearer sk_live_..." \
-H "Idempotency-Key: unique-request-id-123" \
-d '{"title": "My ticket"}'
# Retry with the same key → returns the same ticket, no duplicateResources
Explore each resource for full endpoint documentation, parameters, and code examples.
//{ticketId}///{customerId}////{groupId}//{articleId}/////{webhookId}////{categoryId}/posts/posts/posts/{postId}//{memberId}/{memberId}//../preferences/../preferences//unread-count/mark-all-read/////overview/agents/////////player/player/{memberId}/boss////{ruleId}/test///{viewId}/tickets/subscription/portal